Java app recorded script playback does not identify that object

Hi all

Please help me soon
1. I have a java application which has Tree structure in it.
2.Tried recording Tree navigation the recording is successful.
3.Just play backing the recorded script does not identify that object.

please can anybody suggest a solution for this

prashant

Showing Answers 1 - 1 of 1 Answers

hanumanthvm

  • Jul 30th, 2007
 

store the values in Environment variable as val1 val2.... from excel sheet and use below code

For i=1 to Environment.Value("F_Val")
JavaWindow("NAREN    CHO    CHO").JavaInternalFrame("Application Browser").JavaTree("DTree").Expand Environment.Value("Vals"&i)
Next
JavaWindow("NAREN    CHO    CHO").JavaInternalFrame("Application Browser").JavaTree("DTree").Activate Environment.Value("Vals"&i)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions