- anita.totad88
- Posts : 8
Join date : 2012-05-25
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 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 |
- I downloaded and installed Selenium WebDriver Jar files in my Eclipse, but still i am facing issues and couldn't run the webdriver scripsts.
- Selenium IDE generated testcase script is not working in Selenium Webdriver
- Selenium webdriver Error - "Could not contact Selenium Server".
- Using Selenium Webdriver through selenium with fancy reporting
- Selenium RC with NUnit throwing error - File does not exist. File 'c:\Projects\WebDriver\trunk\src\Selenium.Core\HttpCommandProcessor.cs'
Permissions in this forum:
You cannot reply to topics in this forum