Recent Posts

Pages: 1 ... 8 9 [10]
91
TestProject SDK / How to organize WebTest code and how to debug it?
« Last post by jaydeep.paradise on August 03, 2018, 09:47:08 am »
If I will create any methods at outside of the
"public ExecutionResult execute(WebTestHelper helper) throws FailureException()" method.

then will it be working fine in my debugger module?
Will my jar file upload on testproject?
After upload on test project that methods will be working?
What's the purpose of above mentioned method?

Note: I have read the docs but still I have above query.
92
TestProject SDK / Re: Explain from where I can get below things?
« Last post by Marat Strelets on August 02, 2018, 22:18:42 pm »
Please read our quick start documentation here:
https://github.com/testproject-io/java-sdk-examples/tree/master/Web

It explains how to code a simple Test.
Also it explains how to create a Runner and debug it locally.

This will give you a good start.
93
TestProject SDK / Where can I find a Test and Runner examples?
« Last post by jaydeep.paradise on August 02, 2018, 22:16:00 pm »
Please let me know from where I can get below things?
Source code- whose source code runner module or test ?

Screen shot- from where I will get? Which screenshot should I take? Shall I need to take screenshot using code in runner module? Or you have anything?

Log- my console log is fine ?
94
TestProject SDK / Re: Is it compulsory to implement POM
« Last post by Marat Strelets on August 02, 2018, 22:06:31 pm »
It is up to you how to implement the automation you are working on,
however for the long run it's better from maintenance and scalability perspective to use POM.
95
TestProject SDK / Is it compulsory to implement POM
« Last post by jaydeep.paradise on August 02, 2018, 22:03:56 pm »
Is it compulsory to implement page object method?
Or it's  fine with normal code?
96
TestProject SDK / Re: Explain below details
« Last post by Marat Strelets on August 02, 2018, 21:56:31 pm »
You shouldn't try to run the Test. Test has no runnable method.
Instead you should run a "Runner" project that references the test and has a main() method.
97
TestProject SDK / Can't run my Test, there is no main() method
« Last post by jaydeep.paradise on August 02, 2018, 21:54:26 pm »
Shall I need to keep below method in my project? or shall I start with main java method?

public ExecutionResult execute(WebTestHelper helper) throws FailureException

In document you mentioned to keep. but when I am executing my maven project, it;s not finding starting node.
please advice.
98
TestProject SDK / Re: Is it fine if I will create project in Maven?
« Last post by Marat Strelets on August 02, 2018, 19:24:09 pm »
When your TestProject Agent will execute the code you uploaded it will load into memory the SDK.
99
TestProject SDK / Re: Is it fine if I will create project in Maven?
« Last post by jaydeep.paradise on August 02, 2018, 18:42:13 pm »
ok understand. that means I need to remove SDK dependency when I will convert it into jar.

but one query is that if I will remove SDK dependency then code will show error. so will it work fine in testproject?
100
TestProject SDK / Re: Is it fine if I will create project in Maven?
« Last post by Marat Strelets on August 02, 2018, 17:45:42 pm »
No, please read documentation.
Please read again the packaging section: https://github.com/testproject-io/java-sdk-examples/tree/master/Web#packaging
You should not include the SDK in the final JAR you will upload to TestProject
Pages: 1 ... 8 9 [10]