Results 1 to 3 of 3

Thread: While running Test script the value of drop down is not getting selected

  1. #1
    Geek_Guest
    Guest

    While running Test script the value of drop down is not getting selected

    While recording I am able to select the value from the Drop Down menu, but while running the Test script the value is not getting selected and giving err of "Select" object.

    Question asked by visitor darshana


  2. #2
    Contributing Member
    Join Date
    Feb 2006
    Answers
    85

    Re: While running Test script the value of drop down is not getting selected

    Well you rproblem is very unclear here but there may be few reasons for this one very common is the DropDown doesn't contain the value which it recorded.

    So it will be good if you can give some more details and if possible screen shot of the error.

    One quick solution is if it doesn't matter what you select from the Dropdown then you can specify the same by #3
    where 3 is the number of the element in the array(remember array starts from 0).
    hope this will help you,
    let me know if you need any more help on this
    Thanks,
    Kunals.


  3. #3
    Contributing Member
    Join Date
    Feb 2006
    Answers
    41

    Re: While running Test script the value of drop down is not getting selected

    If you are retaining the ..<frame>.<object><br /> <br /> Like it records the webtable.event then it won't recognize.<br /> Instead if the dropdown_1.event, dropdown_1.value is passed it works.<br /> <br /> Try removing webtable script and execute with only dropdown_1 method.<br /> It will work. Try using passing the value like .set "1" ...etc where dropdown has 1 item init.<br /> <br /> This will work.<br /> <br /> Arun*<br /><br /> </blockquote> </div> </div> </div> <div class="cleardiv"></div> </div> </div> <div class="postfoot"> <!-- <div class="postfoot_container"> --> <div class="textcontrols floatcontainer"> <span class="postcontrols"> <img style="display:none" id="progress_14811" src="images/metro/blue/misc/progress.gif" alt="" /> <a id="qrwq_14811" class="newreply" href="https://www.geekinterview.com/talk/newreply.php?do=newreply&p=14811&s=0e21075351596242387d0f27f94b7d1c" rel="nofollow" title="Reply With Quote"><img id="quoteimg_14811" src="https://www.geekinterview.com/talk/clear.gif" alt="Reply With Quote" /> Reply With Quote</a> </span> <span class="postlinking"> </span> <!-- </div> --> </div> </div> <hr /> </li> <!--Ad Code Begins--> <!--<li class="postbitlegacy postbitim postcontainer old" > <div class="posthead"><span class="date"> Sponsored Ads</span></div> <div class="postdetails"> <div class="userinfo"> <div class="username_container"></div> <span class="usertitle">Ad</span> </div> <div class="postbody"> <br /> <br /> <div class="cleardiv"></div> </div> </div> <div class="postfoot"> </div> </li>--> <!--Ad Code Ends--> </ol> <div class="separator"></div> <div class="postlistfoot"> </div> </div> <div id="below_postlist" class="noinlinemod below_postlist"> <div id="pagination_bottom" class="pagination_bottom"> </div> </div> <!-- next / previous links --> <div class="navlinks"> <strong>«</strong> <a href="https://www.geekinterview.com/talk/qtp/4753-running-test-script-value-drop-getting-selected-prev-thread.html?s=0e21075351596242387d0f27f94b7d1c" rel="nofollow">Previous Thread</a> | <a href="https://www.geekinterview.com/talk/qtp/4753-running-test-script-value-drop-getting-selected-next-thread.html?s=0e21075351596242387d0f27f94b7d1c" rel="nofollow">Next Thread</a> <strong>»</strong> </div> <!-- / next / previous links --> <div id="thread_info" class="thread_info block"> <div class="options_block_container"> <div class="options_block"> <h4 class="collapse blockhead options_correct"> <a class="collapse" id="collapse_posting_rules" href="https://www.geekinterview.com/talk/4753-running-test-script-value-drop-getting-selected.html#top"><img src="images/metro/blue/buttons/collapse_40b.png" alt="" /></a> Posting Permissions </h4> <div id="posting_rules" class="thread_info_block blockbody formcontrols floatcontainer options_correct"> <div id="forumrules" class="info_subblock"> <ul class="youcandoblock"> <li>You <strong>may not</strong> post new threads</li> <li>You <strong>may not</strong> post replies</li> <li>You <strong>may not</strong> post attachments</li> <li>You <strong>may not</strong> edit your posts</li> <li> </li> </ul> <div class="bbcodeblock"> <ul> <li><a rel="nofollow" href="https://www.geekinterview.com/talk/misc.php?do=bbcode&s=0e21075351596242387d0f27f94b7d1c" target="_blank">BB code</a> is <strong>On</strong></li> <li><a rel="nofollow" href="https://www.geekinterview.com/talk/misc.php?do=showsmilies&s=0e21075351596242387d0f27f94b7d1c" target="_blank">Smilies</a> are <strong>On</strong></li> <li><a rel="nofollow" href="https://www.geekinterview.com/talk/misc.php?do=bbcode&s=0e21075351596242387d0f27f94b7d1c#imgcode" target="_blank">[IMG]</a> code is <strong>On</strong></li> <li><a rel="nofollow" href="https://www.geekinterview.com/talk/misc.php?do=bbcode&s=0e21075351596242387d0f27f94b7d1c#videocode" target="_blank">[VIDEO]</a> code is <strong>On</strong></li> <li>HTML code is <strong>On</strong></li> </ul> </div> <p class="rules_link"><a rel="nofollow" href="https://www.geekinterview.com/talk/misc.php?do=showrules&s=0e21075351596242387d0f27f94b7d1c" target="_blank">Forum Rules</a></p> </div> </div> </div> </div> </div> <div style="clear: left"> </div> <div style="clear:both;"></div> <table class="prefooter" width="100%" border="0"> <tr> <td class="column-left"> <div class="prefooter-block-01 "> <h6>About us</h6> Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help. </div> <div class="prefooter-block-02"> <h6>GeekInterview</h6> <ul> <li><a href="http://www.geekinterview.com" title="">GeekInterview</a></li> <li><a href="" title="http://www.learn.geekinterview.com">Learning Center</a></li> <li><a href="http://www.geekinterview.com/quiz/" title="">Online Quiz</a></li> <li><a href="http://www.geekinterview.com/Interview-Questions" title="">Interview Questions</a></li> <li><a href="http://www.geekinterview.com/Interview-Coaching" title="">Interview Coaching</a></li> <li><a href="http://www.geekinterview.com/email-subscription.html" title="">Interview eBook</a></li> </ul> </div> </td> <td class="column-right" width="244"> <div class="prefooter-block-03"> <h6>Interact</h6> <ul> <li><a rel="nofollow" class="twitter" target="_blank" href="https://twitter.com/geekinterview"></a></li> <li><a rel="nofollow" class="facebook" target="_blank" href="https://www.facebook.com/GeekInterview"></a></li> <li><a rel="nofollow" class="gplus" target="_blank" href="https://plus.google.com/+geekinterview"></a></li> <li><a rel="nofollow" class="youtube" target="_blank" href="http://www.youtube.com/exforsys"></a></li> </ul> </div> </td> </tr> </table> <div id="footer" class="floatcontainer footer"> <form action="https://www.geekinterview.com/talk/index.php" method="get" id="footer_select" class="footer_select"> </form> <ul id="footer_links" class="footer_links"> <li><a href="https://www.geekinterview.com/talk/sendmessage.php?s=0e21075351596242387d0f27f94b7d1c" rel="nofollow" accesskey="9">Contact Us</a> | </li> <li><a href="http://www.geekinterview.com">Geeks Discussions</a> | </li> <li><a href="archive/index.php?s=0e21075351596242387d0f27f94b7d1c">Archive</a> | </li> <li><a href="http://www.geekinterview.com/privacy.html">Privacy Statement</a> | </li> <li><a href="https://www.geekinterview.com/talk/4753-running-test-script-value-drop-getting-selected.html#top" onclick="document.location.hash='top'; return false;">Top</a></li> </ul> <script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); //--> </script> </div> </div> <!-- closing div for body_wrapper --> <div class="below_body"> <div id="footer_time" class="shade footer_time">All times are GMT -4. The time now is <span class="time">12:52 PM</span>.</div> <div id="footer_copyright" class="shade footer_copyright"> <!-- Do not remove this copyright notice --> Powered by <a href="http://www.vbulletin.com" rel="nofollow" id="vbulletinlink">vBulletin™</a> <!-- Do not remove this copyright notice --> </div> <div id="footer_morecopyright" class="shade footer_morecopyright"> <!-- Do not remove cronimage or your scheduled tasks will cease to function --> <img src="https://www.geekinterview.com/talk/cron.php?s=0e21075351596242387d0f27f94b7d1c&rand=1711644756" alt="" width="1" height="1" border="0" /> <!-- Do not remove cronimage or your scheduled tasks will cease to function --> Search Engine Optimisation provided by <a rel="nofollow" href="http://www.dragonbyte-tech.com/vbecommerce.php?productid=303&do=product&utm_source=geekinterview.com&utm_campaign=product&utm_medium=DragonByte%2BSEO&utm_content=Lite" target="_blank">DragonByte SEO v2.0.37 (Lite)</a> - <a rel="nofollow" href="http://www.dragonbyte-tech.com/?utm_source=geekinterview.com&utm_campaign=site&utm_medium=DragonByte%2BSEO&utm_content=Lite" target="_blank">vBulletin Mods & Addons</a> Copyright © 2024 DragonByte Technologies Ltd.<br />Copyright © 2014 GeekInterview.com. All Rights Reserved </div> </div> <!-- GeekMiscFooter --> </body> </html>