01-23-2009, 04:52 PM
I test java applet using QTP 9.0. There are lots of nodes in my application. Like
A
A1
A2
A3
As per the given hirearchy I can select A3 as
Select("A;A1;A2;A3")
I have to pass the node name through data table.
The problem is if the A3 node name is a string as ";".
I cannot select this node because QTP recognizes ";" as node level separator.
And throws error as it cannot reconize the object.
I have tried to pass an escape sequence but problem still exists.
Let me know how can I achieve this objective.
Note : I tried to record my activity for selecting the node here I get
Select("A;A1;A2;;")
But during run this is throwing error.
A
A1
A2
A3
As per the given hirearchy I can select A3 as
Select("A;A1;A2;A3")
I have to pass the node name through data table.
The problem is if the A3 node name is a string as ";".
I cannot select this node because QTP recognizes ";" as node level separator.
And throws error as it cannot reconize the object.
I have tried to pass an escape sequence but problem still exists.
Let me know how can I achieve this objective.
Note : I tried to record my activity for selecting the node here I get
Select("A;A1;A2;;")
But during run this is throwing error.