Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to store user input in variable using selenium RC

View previous topic View next topic Go down

How to store user input in variable using selenium RC

Post by Pallavi Choudhary on 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

Pallavi Choudhary
Active particpant
Active particpant

Posts : 24
Join date : 2012-05-08

Back to top Go down

Re: How to store user input in variable using selenium RC

Post by rohit13 on 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);

_________________
Radical QA
http://radical-qa.blogspot.in/

rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 30
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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