how to main tain the Old scripts in qtp?
Answer / pravati
if a new object is found in application u should add the object in shared object repository,drop nd drag the new object in function library script, or if a modification can found in object property then add or modify the object property in object repository.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
what are the functions availabla in QTP? what are the data types in QTP?
what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not
What is source control?
how we connect oracle or sql data server database to qtp
what is the object properties settings in the QTP
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 frame work?
You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?
what is the long form of QTP ?
vb script for calling one function to the another function
can somebody send the script to write a multiplication table in notepad through qtp