Hi Rajeenthani,
I think you need to create an object instance of AutomationContext within
your java class and proceed with it. The below link[1] might be useful for
you.
[1]
http://malinthas.blogspot.com/2014/02/how-to-obtain-configuration-details.html
.
On Mon, Sep 28, 2015 at 1:44 PM,
Hi all,
I am currently working on writing UI integration tests for product UES
using selenium.I have to make maximum waiting time for search element by()
as default value.As per discussion it can be configured through
automation.xml file. I have added 30 at automation.xml file.So I need to get
Hi all,
Thank you for your prompt reply.I have done this from uesAutomationContext.
getConfigurationValue("//maximumWaitingTime") and Now I can get the value
for maximumWaitingTime.
On Mon, Sep 28, 2015 at 2:20 PM, Pumudu Ruhunage wrote:
> Hi,
>
> Have you tried something like
Hi,
Have you tried something like this?
AutomationContext automationContext;
automationContext = new AutomationContext();
String maximumWaitingTime =
automationContext.getInstance().getProperty("maximumWaitingTime");
It's better if you can check how other integration tests were written and