Share
Go down
anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

command for clearing a data

on Fri May 11, 2012 7:46 pm
hi anyboby could say me a selenium ide command to clear a data
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: command for clearing a data

on Fri May 11, 2012 7:53 pm
are you talking about text-box??can you please provide more information?

_________________
Radical QA
http://radical-qa.blogspot.in/
anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

Re: command for clearing a data

on Mon May 14, 2012 12:38 pm
yes .. i want to edit a customer name from a text box , also it would be better if i can clear any datea in a email body screen .
i used keypress and value as 8 to clear word by word
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: command for clearing a data

on Mon May 14, 2012 12:42 pm
you can use
Code:
type  |  locator  |

OR


Code:
storeEval | window.document.getElementById('reg_start_date').value = '' |

_________________
Radical QA
http://radical-qa.blogspot.in/
anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

Re: command for clearing a data

on Mon May 14, 2012 1:07 pm
sorry to say im not clear with this codes. i dont deal with codes
avatar
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA
http://radical-qa.blogspot.in/

Re: command for clearing a data

on Mon May 14, 2012 1:10 pm
keypress and value as 8
instead of this use suggested command.Nothing different.

_________________
Radical QA
http://radical-qa.blogspot.in/
anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

Re: command for clearing a data

on Mon May 14, 2012 1:41 pm
yes it works .. thanks
Sponsored content

Re: command for clearing a data

Back to top
Permissions in this forum:
You cannot reply to topics in this forum