To Add the runtime property of an object into the Excel Sheet

The properties of the AUT is changing as per the data given by user.
for e.g the data is :(Qo_Quote_JFM16")
then the properties become :Browser(Qo_Quote_JFM16").Page("Qo_Quote_JFM16").....
So I want to add the unique properties of the objects depending on my data into the Excel sheet (@ runtime).
And then depending on that added property I can perform the actions. To me it seems just like a Keyword driven framework.
Any suggestions for this please?
How can I implement the same...or is it any another way to tackle the problem?

Showing Answers 1 - 3 of 3 Answers

Ashwini

  • May 3rd, 2017
 

By Using GetRoPropety

Code
  1.  

  2.  

  3.         Number=JavaWindow().JavaEdit("").GetROProperty("value")

  4.  

  5.         If IsNumeric(Number) Then

  6.                 Reporter.ReportEvent micPass,"Number ","Number is generated Successfully"

  7.                 wait 0,500

  8.      

  9.         DataTable.Value("","")=Number

  10.         Else

  11.                 Reporter.ReportEvent micFail,"Number ","Number is NOT generated Successfully"

  12.                 ExitTest

  13.         End If

  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