Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is obsolute path and relative path in QTP..? How to
access them and what are the differences between them...??

Answers were Sorted based on User's Feedback



What is obsolute path and relative path in QTP..? How to access them and what are the differences ..

Answer / nath t

Absolute path means we have to mention full path in script.

Example: executefile "E:\project name\libraries\main.vbs"

Relative path menas no need to give full path just mention
file name

Example: executefile "main.vbs"

But here if you want to convert this Absolute file path as
relative path. you should do following steps

Tools menu-->options-->folders tab

here you have to add this path example "E:\project
name\libraries"

then you can use direct filename as above mentioned in the
relative path example instead of absolute path example.

Is This Answer Correct ?    11 Yes 5 No

What is obsolute path and relative path in QTP..? How to access them and what are the differences ..

Answer / radhika

A small correction in the path
You can make your path relative before only by going to
Tools->options->Folder->check the checkbox "Relative
path ...."

Basically we go for relative path when we are going to
copy our qtp scripts to different location like from C
drive to D drive on different machines

Is This Answer Correct ?    3 Yes 0 No

What is obsolute path and relative path in QTP..? How to access them and what are the differences ..

Answer / radhika

Absolute path means the existing path of your test.
Ex: c:\Data\inputfiles\testscripts\test1

Relative path means the path which you want to access from
the rootfile you need.
Ex: ..\..\..\iputfiles\testscripts\test1

Basically it sgood to prefer relative path as, if the
location of the root folder changes you do not get any
errors

You can make your path relative before only by going to
Tools->options->run->check the checkbox "Relative path ...."

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties..

5 Answers   Clinical Soft,


If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.

3 Answers  


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?

1 Answers   RBS,


How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)

6 Answers  


How many types of recording modes in qtp? Which will be used when?

0 Answers  


In key word driven framework,we will rename the logical names of objects,why?

3 Answers   Liquid Hub,


How can we call Winrunner functions from QTP?

1 Answers  


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  


Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com

0 Answers  


I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?

1 Answers  


What is Virtual Users?

1 Answers   Crea,


What is Automation frame work.How we will prepare in real time.

9 Answers   AppLabs,


Categories