how to write testcases for web based insurance,from the
script by using qtp.



how to write testcases for web based insurance,from the script by using qtp...

Answer / jason bourne

Hi, Are you trying to say, look - i have some QTP scripts
and you wanna have test cases written out of them manually.
Anyways i will try and help u out.
1) Open your QTP
2) Load the script
3) Ensure all the Objects are loaded into the Object
Repositary
4) Go to Keyword View
5) check the last column named " Comment "
6) Those are nothing but test cases
7) copy each lines to ur excel sheet and make modifications.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Can we add the objects of an application dynamically?

2 Answers   KEN Group, LD College,


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

0 Answers  


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.

1 Answers  


We have opened three browser such as Facebook,Gmail,Amazon,I want to generate the script of Login of Amazon application, but while adding the object such as edit box(user id,password) in OR is not added.Could you please resolve my issue

1 Answers   IBM,


Write a script to delete a specific row in a webtable.

2 Answers   Tech Mahindra,






1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?

5 Answers   Wipro,


What is error handled other than recovery scenario manager?

2 Answers  


Can objects recognised without repository?

5 Answers  


How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


What is post recovery scenario?

0 Answers  


How can you exit from an action?

0 Answers  


what is test scheduleling?

0 Answers   IBM,


Categories