Hi Shan,

Sorry for so short answer, I was tired, and could not formulate may answer
clearly, so I sent you the bottom line:) I am going to explain my chain of
my thoughts.

I saw this problem with loading page forever many times, but I don't know
why it happens. I have couple of ideas. I would start from cleaning IE *
cache*, mix of old cache with a new app version gives  sometimes strange
effects.
Depends of IE version, I would try to debug the problem. IE8 has almost
normal debugger. The problem can be result if some loading thumbnail,
statistics counter, etc... I tried once to track such problem, if you type
in address bar javascript:alert(document.readyState) and press Enter, you
can see if there is a problem, but in a new applications using AJAX the
state of a page less relevant.
Using IE8-9 in* Compatibility Mode* make it behave more like other browsers.
You can also try to disable some of *IE plugins*.

QTP provides wrapper for each action on browser, in more open frameworks
(like Selenium, PAMIE) sometimes you need to start separated thread to
handle pop-up before you click something. Upload File popup may freeze a
test forever. That what you actually want to archive. But vbscript has no
threads, so the workaround be using nonblocking action
like keyboard simulation. Another similar option, if there is a problem to
use devisereply you can attach shortcut to the object.

Thx,

Roman



On Mon, May 9, 2011 at 10:11 AM, Shanmukha Bollapragada
<[email protected]>wrote:

> 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
>

-- 
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

Reply via email to