1...HOW MANY TYPES OF OBJECT REPOSITORY ARE THERE IN QTP?
2....WHAT ARE THE REPOSITORY FEATURES EXPLAN.
3...HOW TO CREATE A RECOVERY SCENARIO? WHAT DOES RECOVERY
SCENARIO MANAGER DO?
4...OPEN A WORD FILE AND MODIFIED WITH SOME VALUE USING QTP?
5... HOW TO CREATE EXCEL FILE USING QTP?
6... HOW TO RETRIEVE A VALUE FROM WEB TABLE?
7... WHAT IS QC REQUIREMENT TAB DO ? HOW TO MAP THE
REQUIREMENT?
8... HOW TO PASS A VALUE FROM EXCEL FILE TO SCRIPT?
9...WHAT IS THE USE OF SPLIT FUNCTION?

Answer Posted / ram.polavarapu

1ans)there are two type of object repositaries
1)local object repositary
2)shared repositary

2ans)which can stores the object properties and test
objects and we can change the logical name

3and)go to qtp->resorces->recovery senatio manager->click
on new senario->select the trigger event 1)pop-up window2)
object state 3)test run error 4)application crash select
one out of this->select the pop up window->show the window
and select the window text contain select keyboard and
mouse operation->select click button with lable->show the
button->click an add senario to current test->finish button
and save the file .qrs


4ans)i dont no


5ans)dim xl,wb,ws
set xl=createobject("excel.application")
set wb=xl.workbook"sheet1"
set ws=wb.worksheets.add("path")
wb.close
set xl=nothing

6ans)by using getcelldata(row,colums)

7)we can add the requirement

8)

9)by using split we can split the lines

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain advantages and disadvantages kdf?

609


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2662


How many lines of code in each script of QTP?

4115


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1899


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

1599






we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1753


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1662


Explain the types of object repository?

641


What is the synchronization point in qtp?

651


how many maximum number of virtual users we can create?

1685


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

1582


Hi All, How to Compare two strings character by character in QTP

1096


What is QTP testing process?

702


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

1705


What are the different types of recording modes in qtp? Which will be used when?

673