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

Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1558


How you can make an action as re-usable action?

757


What is the file extension of the code file in qtp?

642


What is object repository in qtp?

644


Can we create a qtp test from qc?

684






Dis advantages of XML checkpoint ?

1668


What is the difference between rational rose and QTP?

1874


How to analyzing test results using quicktest professional?

730


How do you convert manual test cases to automated test cases?

667


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1379


Explain different type of event trigger option.

614


How do you delete unwanted results in qtp?

710


How many add-ins comes by default with qtp?

626


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

6743


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1132