Explain about datafile/verification of date file when file
is not available in local system?
No Answer is Posted For this Question
Be the First to Post Answer
How will you set a unique four digit number in an edit field in QTP?
Tell me about your project? please help me how to tell about insurance project
how to capture data from images in QTP and produce them in excel sheet?
How to capture all the data of a webtable, weblist and combolist using QTP?
How do u write a regular expression for date (dd/mm/yyyy) field ?
I have given u a application.To automate it what are the things will u consider?
HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
hw to create a frame work in qtp..what are the basic steps
what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
What is the difference between "call" and "callclose"