we are not able to understand the problem. could you please repeat the problem.
Hi,
Here is the explanation
I have a testfile.java which calls the Page.java
testfile.java has init() method which calls Page.java file.. which does the initialization for the browser based on the browser type which is coming from the configuraiton.properties file.
the issue now is i am moving to Grid and I am setting the configuraiton value for browser to come from the testfile.xml hence I modified Paga.java file for init() to something like this
@parameter({browser})
init(browser b)
because init gonna accept the String object.. i have to modify the testfile also
Something like this
init(constants.ie) this value is coming from Java constant file.
The problem the browser configuraiton value is always executing and hence the above code of
@parameter which is coming from .xml file is not recognized at all...
hope you got my problem...
How to resolve this
Regards
J