SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Member
    Join Date
    Jun 2004
    Location
    Hyd
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Clicking SAVE button on dialog box!!

    Hi,

    I have problem clicking on the "SAVE", button in the dialog box. I tried the below code but could not get it. Searched through the foroums, could not get either.

    Plesae help.

    Find the code and attachment.

    <font class="small">Code:</font><hr /><pre>
    Dialog("text:=File Download").Dialog("text:=File Download").WinButton("text:=\&amp;Save").Click


    Dialog("text:=File Download").WinButton("text:=\&amp;Save").Click



    Dialog("text:=File Download").Dialog("text:=File Download").WinButton("text:=*.Save").Click


    Dialog("File Download").Dialog("File Download").WinButton("Save").Click

    msgbox Dialog("regexpwndtitle:=File Download", "ispopupwindow:=True").exist'Dialog("text:=Fil e Download").exist

    msgbox Dialog("ispopupwindow:=True").exist
    </pre><hr />

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    What is the issue?

  3. #3
    Member
    Join Date
    Jun 2004
    Location
    Hyd
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    As I said.. the issue/PROBLEM(as i mentioned above)is clicking on the SAVE button in the dialog box, that apprears,when we usually want to download something. I have also added a screenshot of the said dialog box in this thread.

    I have also included the code that I tried(Though didn't work) above. I was actually trying to do a descriptive programming on the above scenerio and could NOT get it.

    Please help!!

    Thanks,
    Bablu

  4. #4
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    I don't see any screenshots attached to this post at all

  5. #5
    Member
    Join Date
    Jun 2004
    Location
    Hyd
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    I dont know how it got removed. Let me attach it again.

  6. #6
    Member
    Join Date
    Jun 2004
    Location
    Hyd
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    let me attach!!
    Attached Images Attached Images

  7. #7
    Member
    Join Date
    Jun 2004
    Location
    Hyd
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    any replies please...

  8. #8
    Advanced Member
    Join Date
    Sep 2007
    Location
    Chennai, Tamil nadu, India
    Posts
    999
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    Hi Bablu have you tried "SendKey" method?
    i have never seen bugs sleeping

  9. #9
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,555
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    Might just be a timing issue. Throw an exist step in there.

    If Dialog("File Download").Dialog("File Download").WinButton("Save").Exist(10) Then
    Dialog("File Download").Dialog("File Download").WinButton("Save").Click
    Else
    msgbox "save button did not exist/load within 10 seconds"
    End If

    I presume you've already checked that the repository can properly identify the object.

  10. #10
    Member
    Join Date
    Jun 2004
    Location
    Hyd
    Posts
    52
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Clicking SAVE button on dialog box!!

    Thank you for the replies NOUse and Prince.

    I m actually trying to do a descripting programming.. something like this..

    Dialog("text:=File Download").Dialog("text:=File Download").WinButton("text:=\&amp;Save").Click

    Dialog("text:=File Download").WinButton("text:=\&amp;Save").Click

    I have also attached screenshot's along with the issue. Please see if you could get some idea..

    No use:- Could you please thourgh some more light on send keys.. i will do research from myside though. i have to click on SAVE button.

    Thanks again for ur replies.

    Regards,
    Bablu.

 

 
Page 1 of 2 12 LastLast

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.34%
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 04:32 AM.

Copyright BetaSoft Inc.