Page 2 sur 2
Issue while developing selenium framework for SquashTA
Publié : mar. mars 27, 2018 12:03 pm
par qdusser
You're right,
if the Java Build Path is set on the java repository ("src/squashTA/resources/squashTA/selenium/java"), then the macro command should be :
TEST :
# EXECUTE_SELENIUM2 selenium WITH MAIN CLASS [b]TestScript.abc[/b]
regards,
Quentin
Issue while developing selenium framework for SquashTA
Publié : mar. mars 27, 2018 1:30 pm
par Pankaj
Hi Quentin,
Tried everything, but it didn't worked, so thought to create fresh project in new workspace and trying from scratch.
But when I am creating the project by following the tutorial "
https://sites.google.com/a/henix.fr/wik ... d-selenium"
it is not showing Java build path option. please find below screenshot.
Can you please help me why this is happening? and how to bring back java build path option.
[attachment=490]Capture-5.jpg[/attachment]
Issue while developing selenium framework for SquashTA
Publié : mer. mars 28, 2018 10:47 am
par qdusser
Hello Pankaj,
to view Java Build Path property, go to Properties -> Project Facets and select "Java". But it might not solve the problem.
Could you please send me your first project "TestProject". I'll take a look at it and try to find a solution before the end of the week.
Regards,
Quentin.
Issue while developing selenium framework for SquashTA
Publié : mer. mars 28, 2018 11:25 am
par Pankaj
Hello Quentin,
I already tried with Project Facets but still not able to bring the Java build path option.
Does it necessary to configure in Java build path or is it fine if we don't have Java build path option present?
Meanwhile, please find my attached SquashTA project zip file, please try to run abc.ta file.
[attachment=491]testProject.zip[/attachment]
Thank you very much for your help and support.
Issue while developing selenium framework for SquashTA
Publié : ven. mars 30, 2018 10:44 am
par qdusser
Hello Pankaj,
Here is your working project. I screenshot changes I've done so you understand the problems :
- junit and selenium dependencies weren't configured properly in the pom.xml
- your java test was not in a package, what generated a mistake
The project is ready to run !
Best regards,
Quentin