Hey Guys, thanks for all you help, just found out the solution. imageobj.Object.currentstyle.visibility. i found out using trail and error basis.
Regards, Suresh On Monday, April 30, 2012 11:14:33 AM UTC+5:30, Suresh Pandian wrote: > > Hi Rahul, > > Thanks for your help, i tried you the commands it gives only a blank > value all times. Here is the html code > > <script src="/ScriptResource.axd? > d=fEhQSZfU4ZH4IcFnRRCK6JkNcTghVq45kaN964-4RtE70BZUMWg4wFi4IL3fr7vbZkuccJFlOH- > > FJ-clyqesAkSfZ3zb2OAe9iQSiFyP- > M7oTWcmXGocpVBclQp1EfLAruZAtqAma45pl3zFO3zKwv4nccch1c9kpI0MYckmnsfzmTw- > zvdZYqJFS1Aj4qgk0&t=ffffffff940d030f" type="text/javascript"></ > script> > <div style="visibility:hidden;display:none;"> > <img src="/Images/img1.png" alt=""/> > <img src="/Images/img2.gif" alt=""/> > <img src="/Images/img3.gif" alt=""/> > <a id="proxyAnchor" href="#" style="display:none;"></a> > </div> > > thanks for your help! > > > On Apr 29, 10:53 am, iRahulSingh <[email protected]> wrote: > > 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
