I have application it is one digital clock with all minutes
and seconds. you have to identify the time to verify weather
the time displayed is correct time or not?
How do you automate this scenario?

Answers were Sorted based on User's Feedback



I have application it is one digital clock with all minutes and seconds. you have to identify the ..

Answer / prathyusha

By using Time() funtion we can retrieve system time. BY
finding the difference between the displayed time and
retrieved time using the fucntion, we can verify whether
the time displayed is correct time or not.

Syntax:
strTime = Time()

Is This Answer Correct ?    3 Yes 2 No

I have application it is one digital clock with all minutes and seconds. you have to identify the ..

Answer / dmitry

I suppose Tick event should be fired in order capture same
time that timer application
In this case comparing will be more exact

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

Please clarify Automation and QTP both(names) are same or diff?

1 Answers  


suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to check each button? i.e. how qtp indetifies these objects separately?

2 Answers  


anyone can explain about "Smart Identification" in QTP. what is the use of "Smart Identification" ???

1 Answers  


What is diff betwee datatable.importsheet "path" and datatable.import

2 Answers  


How to count no of edit boxes on the page?

3 Answers   IBM,






How can we add regular expression for date field (dd/mon/yyyy)?

3 Answers   CTS,


what is the framework followed by ur company in qtp

5 Answers  


Recovery Manager means..?

4 Answers  


Set DR= CreateObject("Mercury.DeviceReplay")

2 Answers  


What is Active Screen in QTP?

11 Answers  


What are the major/ important methods, functions in QTP we use realtime testing

0 Answers  


Hi Friends, I'm new to QTP. I want to write a function in QTP for below senario. In an Excel sheet column B, I Have 10 Url/Links, and in Colum A there is a Flag as Y and N. My test should run only on those iterations which are flagged as Y. Please help, Thanks

6 Answers  


Categories