Can i get a simple example exercise for update run mode for
sample flight application......... In qtp when i try to run
the test in update mode.. Auotmation> update option is
disabled............ Pls let me know .................
Thanks in advance.....

Answer Posted / techie

create a file named "test.doc" in c:\,write text "hello" in
the document,save and close.

Now start recording on the word application.
1.File->open c:\test.doc(After it is opened u can see the
text "hello" in the document as u created earlier)

2.Insert a text checkpoint on the text "hello".

3.close the application

Now run the test case in "normal mode" it will pass.

Now change the text in the c:\hello.doc from "hello"
to "welcome" and save.

Now run the test case in "normal mode" it will fail.

Now run the test case again in "update run mode" now it
will update the check point value to "welcome" and the test
case will pass.

This is one example on updating checkpoint during runtime.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, I need code for how to execute qtp scripts from excell sheet

1448


What is a recovery scenario?

560


Difference between copy to action and call to action?

577


Have you used xml check point in your project? How?

535


How to check which add-ins are associated with a test in qtp?

572






Explain how you can delete excel file in qtp?

578


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

607


how can i call function (which has link with excell sheet at a remote location) within another function

1561


Mention what are the different types of recording modes in qtp? Which will be used when?

548


What contains Data Driven Framework document in qtp?

1453


What is the qtp testing process?

581


whow much strong on VB and C?

1470


How many tabs are available in debug viewer pane?

634


What is clean sweep?

1363


what could go wrong with test automation?

1492