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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In qtp, how you can get the last character from a string?

556


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

1539


How we can import data from database?

647


Mention the different actions types of qtp.

575


Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

1462






How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

1831


Explain process of smart Identification in QTP?

598


What ate the Technologies supported by QTP?

648


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1212


What are the different types of functions available in qtp and explain ?

569


When Recovery scenario actually starts while testing the application?

1546


What is the purpose of loading qtp add-ins?

623


What is difference between run time object and test object?

558


Hoe can we do retesting using functions please give the code for it using login page

1565


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1740