08-19-2009, 10:35 PM
Hi
The same code/script is on two different machines. The server/machine where the scripts runs has problem but the machine where i develop my code does not have any problem. The script runs fine on my machine.Also I tried deleting the object and re-adding it. I tries adding different set of But it didn't help. I am using QTP 9.2.
Also for my clarification I added GetTOPorperties in my code. As I already mentioned the attached text in the object repository is Available.*.
So my question is when QTP runs for the first time, I noticed that it takes the two properties to identify the object which is JavaList in our case.
to_class=JavaList
Attached Text = Available.*
The list has 4 items. So should it be taking the attached text as Available - 4 or Available.*. Please clarify.
And next time when it runs the list has just 2 items and QTP is taking three properties to identify it.The properties are:
to_class= JavaList
class description = list
Attached Text = Available - 4
What is the difference in between "to_class" & "class description"? The application that I am testing is Java Application so why it shows the value as list ?
Appreciate your help.
Thanks
Aditi
The same code/script is on two different machines. The server/machine where the scripts runs has problem but the machine where i develop my code does not have any problem. The script runs fine on my machine.Also I tried deleting the object and re-adding it. I tries adding different set of But it didn't help. I am using QTP 9.2.
Also for my clarification I added GetTOPorperties in my code. As I already mentioned the attached text in the object repository is Available.*.
So my question is when QTP runs for the first time, I noticed that it takes the two properties to identify the object which is JavaList in our case.
to_class=JavaList
Attached Text = Available.*
The list has 4 items. So should it be taking the attached text as Available - 4 or Available.*. Please clarify.
And next time when it runs the list has just 2 items and QTP is taking three properties to identify it.The properties are:
to_class= JavaList
class description = list
Attached Text = Available - 4
What is the difference in between "to_class" & "class description"? The application that I am testing is Java Application so why it shows the value as list ?
Appreciate your help.
Thanks
Aditi