SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2005
    Location
    Hyderabad
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Does any one worked on NetScape Popups with Silk Test 6.5.1

    Hi All

    I had a problem with NetScape Popups(i.e, Java ScriptApplication). When ever i try to execute an event by clicking Yes or No button on the Popup window it is throwing Netscp.exe error.

    Here is the Window Declaraion of my popup window

    [-] netscape window XulTemplateDlg Confirm
    [ ] tag "?JavaScript Application?"
    [ ] parent Browser
    [ ]
    [-] XulPushButton Yes
    [ ] tag "Yes"
    [-] XulPushButton No
    [ ] tag "No"

    I am using the XulTemplateDlg but still i am getting Netscp.exe exception.

    I added sleep in all the required places but still i am facing the same issue.

    I searched the whole forum, but every where the same problem was mentioned with out a clear solution

    Can any one give some valuable suggestions on this....

    Thanks in Advance

  2. #2
    Super Member
    Join Date
    Jul 2003
    Location
    Boulder, CO
    Posts
    1,276
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Does any one worked on NetScape Popups with Silk Test 6.5.1

    Just use SetActive() and TypeKeys() with the dialog. You may need to send <Tab> with TypeKeys to set the non-default button active. Then send <Enter>.

    Here is a sample of a smart dialog handler:

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"> [+] DismissWebsiteCertifiedByAnUnknow()
    [ ] int tries = 1
    [ ] BOOLEAN dismissed = FALSE
    [ ] Print (&quot;NSDialogs: Dismissing WebsiteCertifiedByAnUnknow&quot
    [ ]
    [ ] Sleep (3)
    [ ]
    [-] while (tries &lt; 30)
    [-] do
    [ ] WebsiteCertifiedByAnUnknow.TypeKeys(&quot;&lt;TAB& gt;&quot
    [ ] WebsiteCertifiedByAnUnknow.TypeKeys(&quot;&lt;TAB& gt;&quot
    [ ] WebsiteCertifiedByAnUnknow.TypeKeys(&quot;&lt;Ente r&gt;&quot
    [ ] dismissed = TRUE
    [ ] break
    [-] except
    [ ] ExceptPrint ()
    [ ] Sleep (3)
    [ ] tries++
    [ ]
    [-] if (!dismissed)
    [ ] LogWarning(&quot;NSDialogs: Unable to dismiss WebsiteCertifiedByAnUnknow (waited 90 secs)&quot</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
    Chris R Mead

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

  3. #3
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Does any one worked on NetScape Popups with Silk Test 6.5.1

    people are still using netscape? [img]images/icons/wink.gif[/img]

  4. #4
    Member
    Join Date
    Apr 2005
    Location
    Hyderabad
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Does any one worked on NetScape Popups with Silk Test 6.5.1

    Hi Chris

    Thank you

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 06:32 AM.

Copyright BetaSoft Inc.