For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > November 2007 > Re: how to know whether the cick on the psuh button is success or









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: how to know whether the cick on the psuh button is success or
Rob Dixon

2007-11-22, 7:00 pm

Siva Pra wrote:
>
> In Win32::IEAutomation If I click on a button, I wanted to know whether
> the click on the button is successful or not.
>
> Below are the details:
>
> I wanted to know whether the click with the following function is
> successful or not
>
> $ie->getButton('caption:', "get")->Click;;
>
> After clicking there will be no change in url.


How would a real user know that the button had been clicked
successfully? Presumably if the page URL doesn't change then the
contents of the document must change somehow? Your program should test
for whatever changes when you click that button with a mouse.

HTH,

Rob
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com