My application has an registration page with the dynamically creating image with text..I have to take the output text from the image and fill it to complete the registration..(more or less like yahoo registration page)..how can i automate that?..any suggesstions..more over how can i parameterize multiline data values ?..
Can you get the text of the image or what? These are basically used to avoid automation. What we do in our application is that we dont change the image in test server and the image changing functionality is only kept in the production server. You can use various others approach also. Like we have different images that come up and the image name varies from 1.gif to 200.gif and each corresponds to some securtiy code so if you can have the securtiy code for all the images that would also work fine
My query is here is bit defferent but relevant to this post.
I am using QTP 9.0 to automate for a windows application.
How to recognize a caption of any dialog or an error message that is acitve behind QTP when application is being run?.....Can we have a function in vbs that will return a caption name for the dialog ?
(currently I am using windows "Find Window" function to get rid of it. but I want QTP solution for it.)
I mean any windiw or dialog which is part of my application only.........
I want to recognize the name of this dialog using QTP...
eg: If some push button event causes a dialog "Properties of Dialog" to pop up. So I want QTP to read the caption of this dialog & return it in the form of string.