I am new to QTP. I had few problems while practising on QTP.
I need to login; edit information and then logout.
The problem occur after login; There is a page such as advertise page which changes for every login. So how to proceed with QTP ( for multiple users) for editing some information which display after advertising page. I need to ignore that page as for every login there contain changes. Is there any facility in QTP to overcome this problem? If so pelase suggest.
Thanks for the reply.
But the problem is for closing every time different message comes as some times display as "No Thank you" or some time as "cancel" etc.
So is there any scripting which added for all possibilities or any other way.
Any document for recovery scenireo. The document i have in that not explained clearly.
And for coding if any document please suggest as in QTP i am not done coding untill. [img]/images/graemlins/confused.gif[/img]
I think what he is dealing with is like when you log into Monster.com you get that ad or a form to fill out for more info on something etc... There is usually a link or button at the bottom of that page that lets you pass on it and the inner text of that object is usually "No Thanks" or "Cancel" or something like that.
So what you do is use descriptive programming and create and object description that is really generic, seems like the only thing you can rely on as far as identifying these objects is thier inner text so you would just look for a web element where it's inner text property is equal to "No Thanks" or "Cancel" or what ever. And you can use a regular expression so there is no need for a select statement or fancy programming tricks just use