On Monday, May 9, 2016 at 10:49:57 AM UTC-4, Sekha wrote:
>
> Add this line in between , it should work. Else do a hard stop with wait()
>
> Browser("New Graduates").sync
>
> Sent from my iPhone
>
> On May 9, 2016, at 10:37 AM, Ganesh muralidharan <[email protected]
> <javascript:>> wrote:
>
> Have u tried putting a breakpoint on Browser("New Graduates").Page("
> Administration").Image(“Accept”).Click and checked if control is coming
> inside the if?
>
> On Mon, May 9, 2016 at 8:04 PM, <[email protected] <javascript:>> wrote:
>
>> Hello,
>>
>> If (Browser("New Graduates").Page("Administration").Image(“Accept”).Exist)
>> Then
>>
>> Browser("New Graduates").Page("Administration").Image(“Accept”).Click
>>
>> End If
>>
>>
>> The Exist line returns true but button is not clicked. Accept is an
>> Imagebutton, it's in the OR.
>>
>> thanks in advance
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
>
>
> Ganesh Muralidharan
> 'God Never Forgets'
>
> --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
Hi,
yes it does go inside the if loop.
I tried Browser("New Graduates").sync
Then I tried Browser("New Graduates").Page("Administration").Sync
I tried hard coding Wait(20)
With all these options the script passes, but the button is never clicked,
after clicking "Accept" a different page should be displayed, which never
does
Thanks in advance!
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.