- vinu.m.19
- Posts : 1
Join date : 2012-05-16
Help me to get dynamicaly loaded options of dropdown in Selenium RC -Junit test case
Wed May 16, 2012 8:21 pm
Hi ,
I am new to Selenium. As part of our test sytem automation , I used Selenium IDE , Selenium RC with java Junit test case.
In one of the JSP page we have a dropdown and which is loaded based on another textbox contorl's (tab) change.
After recording and exporting as a JUnit test case , the execution is failing as it was not able to get the dynamicaly loaded options of the drop down.
Please help me to resolve this issue.
Regards
Vinod
I am new to Selenium. As part of our test sytem automation , I used Selenium IDE , Selenium RC with java Junit test case.
In one of the JSP page we have a dropdown and which is loaded based on another textbox contorl's (tab) change.
After recording and exporting as a JUnit test case , the execution is failing as it was not able to get the dynamicaly loaded options of the drop down.
Please help me to resolve this issue.
Regards
Vinod
- popshaAmateur
- Posts : 60
Join date : 2012-04-14
Re: Help me to get dynamicaly loaded options of dropdown in Selenium RC -Junit test case
Thu May 17, 2012 1:31 pm
my idea is that, capture the text box value as string ie., 'String a', then pass the string value as below
selenium.select("name=xxxxx", a);
note: 'selenium.select' command can recognize only string.
selenium.select("name=xxxxx", a);
note: 'selenium.select' command can recognize only string.
Permissions in this forum:
You cannot reply to topics in this forum