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...


Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?

Answers were Sorted based on User's Feedback



Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logica..

Answer / lok nath

actually we ll use the descriptive programing because we know the logical name of the object so. suppose i am having web button and i know logical name then what we ll do.
set odsec = description .create
odsec.Add "micclass","WebButton"

Set str name=Browser("tittle:=*"). page("tittle:=*").childobject(odsec).GetRoProperty(name)
print str name

Is This Answer Correct ?    0 Yes 1 No

Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logica..

Answer / cnu_thatavarthi

If without using object repository and object spy for identify the object then first i will record the test script(application)

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More VB Script Interview Questions

What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>

1 Answers  


how to add the shared repository file to the script file while running the script manuall

2 Answers  


write a vb script code to display the vbscript word by word (i e 1st it should display v then b and up to t )

1 Answers  


Is VBscript case-sensitive?

3 Answers  


I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 Answers  


Mention what is the technology used by vb script?

0 Answers  


accept a string & display whether a is present or not

1 Answers  


How to remove the spaces in a string Ex: "this is apple"

5 Answers   Cap Gemini,


Which date function is used in the vbscript language to find the difference between the 2 dates?

0 Answers  


input values to accept 2 numbers & print the product, difference and sum using switch case

1 Answers   CSC,


Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina

2 Answers  


did any one attended interview in applabs if you had gone through plz tell me the procedure

0 Answers  


Categories