What is difference between Class and MicClass

Answers were Sorted based on User's Feedback



What is difference between Class and MicClass..

Answer / uday

Both represents the same thing.
While writing description for an object we use micclass.
While calling that object type we say it as Class/Class Name.

Ex: Find a link with name Google.
When you spy the link object it says Class Name as Link.

But when you write code to work on this object, we have to
use micclass like
set lnkObj=description.create
lnkObj("micclass").value="Link"

Is This Answer Correct ?    9 Yes 2 No

What is difference between Class and MicClass..

Answer / ram

Both represents the same thing but....

MicClass represents the type of an objet and class is a normal property which can be blank.Micclass property is alway there because it gives the type of object.

Please clarify if I am wrong.


Thanks,


Ram
9109699851282

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

What issues come up in test automation, and how do you manage them?

0 Answers  


If I change the object name in one action will it be updated in all the actions? Or not?

0 Answers  


I have given u a application.To automate it what are the things will u consider?

4 Answers   Wipro,


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

0 Answers  


there are having 10 checkboxes..how can i check only first 5 check boxes by using descriptive programing..

10 Answers   HealthAsyst,






Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...

4 Answers   EDS,


I want to do QTP Certification what is the pattern of Question paper.

0 Answers  


How to load the object repository at run time?

9 Answers   TCS,


Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.

1 Answers  


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

0 Answers  


how to pripare BRS/FRS Document for different projects?

1 Answers   Wipro,


how quick test record on dynamically generated urls and web pages.

3 Answers   Infosys, Satyam,


Categories