Hi Suresh,

I'm not sure whether the following solution will help you or not but
the same issue i've faced once but in my case there is one property of
the image that is appearing while other objects on the page are gtting
downloaded is to look out for imageobj.Object.Style.Display property.
Since you have mentioned your application is using Ajax, hence this
property will change when image will be visible else it would properly
have value BLANK ("") or NONE.

Give it a try and it would be helpful if you give few lines of html
source code f your application to track the issue much better.

Hope it will be of any help.

Cheers..

On Apr 27, 4:14 pm,resh Pandian <[email protected]> wrote:
> Thanks to everybody for the reply, however these options didn't work.
> I cant use the progress bar because it is getting displayed as Done
> before the page load is complete and image still appears on the page.
>
> and i also tried with the object.readystate. This result is always
> giving me "Complete" i tried looping it to find the status from the
> begining however it displayed only Complete even after the image was
> hidden. They have used Ajax  and running some script like
> "ScriptResource.axd". Only the value of object.sourceindex changes
> when the object is visible and then made hidden and i am not sure if
> we can use that and will the value be constant across all the pages.
>
> Your help is highly appreicated.
>
> Regards,
> Suresh
>
> On Apr 27, 10:53 am, uma mahesh <[email protected]> wrote:
>
>
>
> > Hello Depak,
>
> > Can you please send any example line of script..
> > Would like to see how the line of code will come when we are using this
> > following methods.
>
> > Regards
> > '========================================================
>
> > On Tue, Apr 24, 2012 at 9:25 PM, Deepak Kumar Mahapatro <
>
> > [email protected]> wrote:
> > > Hi Suresh,
>
> > > you can try below code that uses the native property readyState
> > > <object hierarchy>.object.readyState. result of the statement can be any
> > > of the below
>
> > > uninitializedThe object is first instantiated but has not begun loading.
> > > loadingThe object has commenced loading.loaded The object has completed
> > > loading.interactiveThe object is loaded but not yet closed but is ready
> > > to handle interaction. completeThe object body has been closed and the
> > > loading is finished.(the table is copied from
> > >http://www.ssicom.org/js/x584623.htm)
>
> > > for page object readystate retuns either interactive or complete
>
> > > please let me know the result
>
> > > --
> > > Regards,
> > > Deepak
>
> > > --
> > > 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- Hide quoted text -
>
> - Show quoted text -

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