Programmatically capturing data from certain field.
Posted: Thu Mar 28, 2013 4:35 pm
Hello, I want to capture data from a certain field. Is it possible to achieve this by writing manual C# code in Ranorex? The goal I am trying to achieve is creating reusable code.
Lets say I am trying to capture the price for the product for the Dell Monitor, it is $12.99
I want to be able go to another page, run the same code and it will capture the price for Dell Storage hard drive $84.99
Recording and creating steps would be great if the environment is fixed, but the product list are prone to changes. New products would occasionally be added and move around. That would break the test and it will take too many man hour to change the element because of the various environment the test has to go through.
(ADDITIONAL INFORMATION - this is a Windows 8 metro application)
Any suggestions ?
Thank you for your help.
Lets say I am trying to capture the price for the product for the Dell Monitor, it is $12.99
I want to be able go to another page, run the same code and it will capture the price for Dell Storage hard drive $84.99
Recording and creating steps would be great if the environment is fixed, but the product list are prone to changes. New products would occasionally be added and move around. That would break the test and it will take too many man hour to change the element because of the various environment the test has to go through.
(ADDITIONAL INFORMATION - this is a Windows 8 metro application)
Any suggestions ?
Thank you for your help.