Hi Roman,
I would like to thank you for the url. This gave me a hint to come up with a
workaround for my problem. Basically, the problem was that after I click on
a GO button, the QTP is waiting for a specific object (This is not a image,
its some kind of Map object) to get loaded. You can see that the browser is
saying (1 item is still remaining) at the bottom left corner. This was
showing up even after the map can be seen on the browser. Ideally speaking
this problem is not seen on the FireFox. The map gets downloaded right away,
but on IE may be because the Javascript engine is slow on IE it doesn't get
loaded.
So, on IE I had to move my mouse over the map object and everything would be
HAPPY. So, All I did was this, take the mouse before I click GO. Here's the
code
Step1: Browser("XXX").Page("XXX").WebList("XXX").Select i
'Mouse the mouse to a specific location before you click on the go button
Step2: Set MObj = CreateObject("Mercury.DeviceReplay")
For map = 740 to 800
MObj.MouseMove map,750
Next
Step3: Browser("XXX").Page("XXX").Image("submit").FireEvent "onclick", 21,9
Once again, thank you all for helping me. You guys ROCK !!!!
Thank you
Shan
On Fri, May 6, 2011 at 9:18 PM, Roman Zilber <[email protected]> wrote:
> http://www.sqaforums.com/showflat.php?Number=495628
> <http://www.sqaforums.com/showflat.php?Number=495628>
>
> On Fri, May 6, 2011 at 2:37 PM, Shanmukha Bollapragada <[email protected]
> > wrote:
>
>> Hi Kishore - This is already unchecked in my IE browser settings.
>>
>>
>> On 5/6/2011 1:51 PM, Kishor Kumar wrote:
>>
>> Hi Shanmukha,
>> *you have to make changes to IE Settings.. to avoid wait time*
>> *
>> *
>> *Tools -> Internet Explorer ->* Advanced tab->uncheck Show Pictures and
>> image download place holders.
>>
>> Regards,
>> Kishor
>>
>>
>> On Fri, May 6, 2011 at 10:53 PM, Shanmukha Bollapragada <
>> [email protected]> wrote:
>>
>>> Hi All,
>>>
>>> This sounds like a common issue with QTP, but my issue is similar to
>>> traditional issue, but not exactly the same. Here's what I am trying to do
>>>
>>> There is a Image (button) on the page which I click on - After clicking
>>> on this obviously it will take me another page, the new page (same browser
>>> window) has a bunch of images.
>>> So, the QTP will wait for all the images to download after it clicks on
>>> that button, which I don't want.
>>>
>>> So, is there a way to tell qtp to proceed as soon as you click on this
>>> button, goto the next step without waiting?...In other words, Line 2 is a
>>> click and after this statement is executed control is not going to Line3
>>> right away, there is a delay of 2 mins which I want to avoid
>>>
>>> Line1: Browser("Test").Page("TEST1").WebList("Test2").Select i
>>> Line2: Browser("Test").Page("TEST1").Image("submit").FireEvent
>>> "onclick", 0
>>> Line3: Browser("Test").Page("TEST1").Check CheckPoint("Data
>>> Description")
>>>
>>> Note: I played with Object Sync Timeout and Browser Navigation Timeout,
>>> but this doesn't seem to a way to go for me as this piece of code is in a
>>> action which I am calling from other places. Hence any solutions with
>>> Waitproperty or something similar would be great
>>>
>>> Please any suggestions are really appreciated
>>>
>>> Thank you
>>> Shan
>>>
>>> --
>>> 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
>> "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
>> "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
> "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
>
--
-SHAN
--
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