QTP Interview Questions
Questions Answers Views Company eMail

how to read log file using QTP??

AppLabs,

3 15846

will QTP accepts javascript?

AppLabs,

14 36205

Hi All I'm new in QTP. I'm trying to make test cases for login on Flight.exe . I have parametrise the agentname and password field. So wen wromg agent name or password is entered it show a dialog box with proper message(Like: "Wrong Password" or :Please enter Password" etc) and OK button. I have created If else block. Now my problem is i want to make checkpoint on error message Dialog box. But each time i create a checkpoint it shows same text message. So how i can check that message is there or not.

2 5610

Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman

1 6401

When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?

TCS,

1 3549

Whenever we use GETROPROPERTY function.

NIIT,

7 24666

how can we handle exceptional handling in qtp

NIIT,

6 8438

how do you do database testing in qtp

NIIT,

5 18991

Wt is the difference between Business Component and scripted component?

BSL,

1 8539

how to re-install QTP 9.0 trial version.

25 70240

Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP

HP,

1 3565

HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation.....

Polaris, Siemens,

5 12127

Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne

Siemens,

4 12412

hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi

2 4499

write a qtp script to see time in windows command prompt? its urgent....

BSL,

9 17649


Post New QTP Questions

Un-Answered Questions { QTP }

How does QTP identify an object?

611


hou can we use vb script in qtp could u tell me breafly

1735


How will you report the bug and explain the defect tracking sheet you handled?

2551


How many number of actions possible in qtp?

601


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

3701






What is test object?

699


Is it possible to call win runner script in qtp?

624


What is the basic concept of qtp?

574


How to find a window is minimized or not

1443


What is the use of running the scripts in Hidden-mode in UFT?

682


What are the steps involved in the recovery scenario wizard?

559


What is smart identification in QTP?

627


Problem with XML checkpoint in QTP ?

3502


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

573


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

613