QTP Interview Questions
Questions Answers Views Company eMail

In Datatable having the data like this S.no Name Address 1 raj hyderabad 2 suresh Mumbai 3 shyam chennai 4 dev banglore i want to get the shyam row id & column id using scipting i.e 3,3

Broadridge,

4 4969

In Developer view it is a high priority defect & in tester view it is a low severity defect what is that how to define with an example

Broadridge,

2 5542

There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.

1 4594




How to find if given number is prime or not

1 2648

How to find duplicates in an array and remove them efficiently?

2 5851

Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???

1 2314

how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

Mphasis,

1 2575

I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.

IBM,

1 2779




Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

2 4620

Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

9 11719

I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

745

write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result

Mind Q Systems,

3 4154

pls dont join MIndq nageshwar rao...Nageshwar rao sir didnt teach QTP indepth...he teach basics only...atleast he dont know about INSTR concept...this concept take min 30 min...buthe teach 3 min only...like this so many concepts are missing in class. IN CLASS ROOM NAGESHWAR RAO SIR HIPNATIZE THE STUDENTS....WITH OTHER ISSUES.. dont join... look other institutes...this is my personal openion share your comments thank u

Mind Q Systems,

1 16735

I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4

1 1477

What does mean by Scope of Automation?n How we defined it?

L&T,

902


Post New QTP Questions






Un-Answered Questions { QTP }

what is clean sweep?

867


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2137


Through array we can execute the testcase how ? give me example

827


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

784


give me the code to save all messages of inbox of gmail into a folder and notepad

945






how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

805


Tell me about your project? please help me how to tell about insurance project

889


Can any one send me the QTP Basic Coding Samples?

969


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

1872


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

802


What does mean by Scope of Automation?n How we defined it?

902


hi nani my doubt is how does qtp process metrix related to software process.

786


I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)

843


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

827


what is keyword driven testing in qtp?n how is it useful?

802