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


If we are record a same web page for 2 times.1st time it is
showing 6 objects in the Object Repository and for the 2nd
time it is showing like 7 Objects in the Object Repository
why it is happening

Answers were Sorted based on User's Feedback



If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Reposi..

Answer / surya prakash

Generally The No. of Objects in the Object Repository is
based the Uniqueness of the Objects Physicall description,
Which is generated based on the Object identification
Process we have defined before recording.

if we selected any Dinamically changing Propery
like "focus", "text" for edit box,) the physicall
description is changes time to time (before performing the
opertion and after performing the operation).

Here in this sistuation any of the objects property had
been updated(changed)from first time to second time, and it
stored that as another object. So it may shows 7 objects in
the second time....

Surya
9866727279

Is This Answer Correct ?    1 Yes 0 No

If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Reposi..

Answer / viju

when u record a web page first that shows de 6 objects in
object repository,but 2nd time it may takes previous recording
as object. total is 7 while recording de 2nd time in object
repository.

Plz clarify this ans n reply

Is This Answer Correct ?    1 Yes 1 No

If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Reposi..

Answer / tvsramakrishnachowdary

Naturally the objects in the web page are not loaded at a
time it can take some time...

for ex if images are there it can take some time to load
the image rather then text...

it also depends on speed of the internet...

Is This Answer Correct ?    0 Yes 0 No

If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Reposi..

Answer / k.chandra sekhar

a) If the 1st recording time has only six objects then
after the 2nd time have the 7 objects. Ok I will give the
two reasons that are
b) 1st one is the when you are recording one of the
objects is add or by unexpected add the objects then have
the objects repository 7 objects.
c) 2nd one is the if you want some thing that way you
are going to the 2nd time record that what you want that
object is the that 7th one


My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in
If any body want full explain send the mail

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri

2 Answers  


What is XML checkpoint in QTP. How we can use in Web Based application

2 Answers   LinkEdge,


Greetings friends , Hope all of you are doing well. When I run a test, is it possible for me to for me to take each row from the data table , once at a time. In other words,if i have 10 rows in the global data table, say data1,data2, data 3...and so on up to data10. Can I have the value of data1 when I run a test, and next time when I run the same test (say next day), it should skip data1 as it has already used it and go directly to data 2 ??? Would be great if anybody can help me out know in this issue. Thanks & Regards !!

4 Answers   CTS,


Step 3&4 are repeated until an the object in recognised uniquely.

0 Answers  


how will load the object during runtime?

0 Answers  


What are advantages of test automation?

0 Answers  


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

0 Answers  


What is QTP’s model for test creation?

0 Answers  


Hello Everyone, In QTP we have one option Data Driver wizard that comes in Tools -> Data Driver. so, please tell me abtout the use of Add Value and Parameterize options available in Data Driver wizard. And also the concept of value, constants, Parameterized displayed in the wizard. Please explain by giving the example. Thanks in advance, Gaytri

2 Answers  


We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)

3 Answers  


If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?

3 Answers   CTS,


Categories