Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
anita.totad88
Posts : 8
Join date : 2012-05-25

selenium-Webdriver Empty selenium-Webdriver

Fri May 25, 2012 7:17 pm
Hi All,
i am selecting the options from drop down box and every time it will generate the dynamic values and i am unable to write the test case..
here is the code below:
1) " div id="_jsx_0_ou" class="jsx30block" style="position: absolute; width: 180px; height: 195px; left: 190px; top: 0px; text-align: left; display: block;"
label="elementPane" "
2) " span id="_jsx_0_oy" class="jsx30select_select" style="position: absolute; width: 148px; height: 18px; left: 10px; top: 20px; padding: 0px; border-width: 1px;
border-style: solid; border-color: rgb(166, 166, 175) rgb(230, 230, 230) rgb(230, 230, 230) rgb(166, 166, 175);
background-image: url("GI/JSX/images/select/arrow.gif"); background-repeat: no-repeat; background-position: right 0px; cursor: pointer;
" jsxtabindex="0" tabindex="0" onmousedown="jsx3.dl(event,this,'lc',0);" onkeydown="jsx3.dl(event,this,'NQ',0);" jsxtype="Select"
label="Create-MobileOriginated_Obj_1" "

3) " div class="jsx30select_display" style="position: relative; display: inline-block; width: 129px;
height: 18px; padding: 0px 19px 0px 0px;" jsxtype="Display" "
4) " div class="jsx30select_text" style="position: relative; display: inline-block; width: 126px; height: 16px; padding: 2px 0px 0px 3px;"
jsxtype="Text">DIAMETER_SMMTEvent "



i tried with following code but it is not working
//div[@label='elementPane']//span[@label='Create-Mobile-originated_Obj_1']
//div[@class,'jsx30select_display'] --> this code is for just displaying the values


please anyone help on this
Back to top
Permissions in this forum:
You cannot reply to topics in this forum