Purpose to of paramter in app.executekeywords("LoginTest"); | Selenium Forum
M
Posted on 15/12/2016
Hi Ashish,

I was going through the recording on Zoho hybrid project. I am in middle of the recordings. Just wanted to understand the need of passing LoginTest parameter in app.executekeywords("LoginTest");

What is the need of initializing executekeywords(String testname). Please let me understand the purpose. Thanks a lot

----------------------------------
in LoginTest.java
@Test
public void loginTest(){

Keywords2 app=new Keywords2();
app.executekeywords("LoginTest");

}}
------------
In Keywords.Java
public class Keywords {

//public static void main(String[] args) {
public void executekeywords(String testname){