Not able define the Elements in PageObject of Java Cucumber FrameWork
Not able define the Elements in PageObject of Java Cucumber FrameWork.
If you give any example for the same. it will be so helpfull to me.
Ref. Screen
Thanks
What version of selenium are you using
@anunay1
using version of selenium
Please check https://github.com/anunay1/SampleJava
@anunay1 Hi, In your example, you have not used the PageObject concept, Directly inputting Windows Elements in @TestNg program.
why we can't use PageObject concept for defining Windows Elements?
Does page object support windows elements? I am not sure.
@anunay1
If it not supports Page Object then, how we can use Ccucumber Framework for WinAppDriver.
Have you checked that it doesn't support? Have you tried importing windows element? In the snapshot I see that you are trying to import web element
SampleJava.zip Attached is a project with cucumber which I did long back.