i am testing an online shopping application.I CLICK on a
link "ADD TO CART" of that application a "new page" is open
and then click on any object of that "new page". after that
when i run this SCRIPT then on this "new page" QTP always
shows error of "OBJECT NOT FOUND". How i solve this problem ?
Answers were Sorted based on User's Feedback
Answer / swetha
first we need to check whether those objects in that page
are being added to the object repository or not.if objects
are added but still it is not identifying then go to object
repository and change the properties of the not identifying
object so that to uniquely identify that object still it is
not identifying then using virtual object configuration
concept we can make the specified area of the application as
a specified object to make qtp to identify the object.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / vengalreddy.soma
Whatever you want test first add your objects to your
Object Repository(OR),then You will test,Qtp identifies
your objects.
If any false please correct me
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / pavan
this is problem regarding the location of the link or else
ur application load time ...so make shure when ur recording
that ur smart identifier and ordinal identifier are enabled
or not.........by this u will not get any problem....answer
from fresher may be correct
| Is This Answer Correct ? | 0 Yes | 0 No |
Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday
What is the best institute in Ameerpet? If people think Ameerpet is the pride of hyd they need to go to Delhi/Gurgaon/noida you can find the difference.
Can launch two instances of qtp on the same machine?
can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
How can we write script for a .net application in QTP? Can we use VB Script for .net application.
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
How u perform exception handling in QTp,what is other name for ths?
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
How to Compare two database tables by using QTP?Please give me code details.
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
What is Tree view?