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 4867

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 5481

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 4529




How to find if given number is prime or not

1 2598

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

2 5762

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 2242

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 2515

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 2727




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

2 4568

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

9 11533

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

702

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 4100

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 16691

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 1431

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

L&T,

868


Post New QTP Questions






Un-Answered Questions { QTP }

Hi,All How to create a link in excel sheet using qtp

2180


what is object and child object.. explain ..if possible give some example for better understanding ..

885


how to know no.of mails in our g mail by using vb-script

1089


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

851


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

899






is there any addin for remedy user application

1039


what is the difference between IE & Netscape in web testing on a log in page

948


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

1841


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

1312


what is ODC and GDC?

5056


what is clean sweep?

835


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1069


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

753


How may types of defects identify application or your currently working application?pls give me answer..

839


can any one say that where we can download the QTP trail version ??????????

701