Does we use Classes and methods in realtime..?How wud we
access methods in a class..?Thanq Guys..!

Answer Posted / shamsher singh

Yes we can use classes and methods in realtime. we can
create classes and methods in classes and linked object with
these classes and use methods.i.e.

Set <Object_name>= createobject(Progid)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

746


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2016


what is test scheduleling?

2239


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

758


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1697


How many types of status are there?

798


How is test case write?

765


Which functionalities of QTP used in banking project? pls any say answer?

1636


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1616


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

7631


Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

2644


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1724


How to use setroproperty?

751


write a script to verify the image path(src property) of the images which are in web pages.

1974


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

1837