- Pallavi ChoudharyActive particpant
- Posts : 24
Join date : 2012-05-08
How to store user input in variable using selenium RC
Wed Aug 22, 2012 1:57 pm
Hello,
I am using selenium RC with c#.
I want to store the value input by user in my variable.
Please help me to solve this issue.
i am using selenium.getEval to promt the message.
Thanks,
Pallavi
I am using selenium RC with c#.
I want to store the value input by user in my variable.
Please help me to solve this issue.
i am using selenium.getEval to promt the message.
Thanks,
Pallavi
Re: How to store user input in variable using selenium RC
Tue Dec 04, 2012 12:55 pm
- Code:
String test= selenium.GetEval("prompt("enter")");
With this you can store user input any variable, if you want to store it in another variable then just use following commands
- Code:
String test = testing;
Console.WriteLine(testing);
- pass string variable from database in to variable and then insert into 3rd party website using selenium and click search button.
- Read text in TXT and store in Variable
- how to store csscount/xpath count in a variable and increment it?
- How to get ID of input field on click event using selenium RC
- In Selenium RC, when input box is triggered, selenium log window gets focussed .
Permissions in this forum:
You cannot reply to topics in this forum