Request : Video Tutorial for STF

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Request : Video Tutorial for STF

RaviGunasekaran
Hi Tarun,
I want to use STF for my learnings, But i could not get complete understanding of Framework and even could not run existing test case from my eclipse.

Request: If you create video tutorial with below steps it will really helpful.
1. How to Download & setup STF with Eclipse.
2. Run one Existing test with FF browser.
3. Create New test with Chrome.
4. Explain reporting & Other features of STF.

Benefits:

This will give fair idea about STF for every one.
People are waiting to use this SFT, but no getting completed idea, how to use it!.


Steps I have used to run Existing test:
1. Downloaded framework from "https://github.com/tarun3kumar/seleniumtests"
2. Imported as maven project
3. All the Dependencies are imported automatically.
4. I try to run loginTest test case from "com.seleniumtests.tests.RegistrationTest" file as testNG test.
5. I got below failure message.

####################################################
####################################################
####################################################
WWW.SELENIUMTESTS.COM
WWW.SELENIUMTESTS.COM
WWW.SELENIUMTESTS.COM
####################################################
####################################################
####################################################
 INFO  2017-02-16 17:47:43,360 [PoolService-0] SeleniumTestPlan: Thread[PoolService-0,5,main] Start method loginTest
 INFO  2017-02-16 17:47:43,400 [PoolService-0] SeleniumTestPlan: Thread[PoolService-0,5,main] Finish method loginTest
FAILED: loginTest(Test Attributes: [ TestCaseId: TestLinkTestCaseID222 ], User [firstName = Hercules, lastName = spartacus,userName = Herculesspartacus,password 123456])
        Login test to verify that google home page can be reached
java.lang.NullPointerException
        at com.seleniumtests.webelements.PageObject.populateAndCapturePageSnapshot(PageObject.java:427)
        at com.seleniumtests.webelements.PageObject.waitForPageToLoad(PageObject.java:557)
        at com.seleniumtests.webelements.PageObject.<init>(PageObject.java:105)
        at com.seleniumtests.webpage.RegistrationPage.<init>(RegistrationPage.java:49)
        at com.seleniumtests.tests.RegistrationTest.loginTest(RegistrationTest.java:74)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
        at org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:75)
        at org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:14)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

softwaretestingforum
Administrator
Hi Ravi,

Sorry to heat that you found it difficult to use STF.
I have added STF video to my To do list. Just subscribe to my channel to receive future updates.

I would suggest you to use IDEA and not eclipse. There is free/community version of IDEA which can be used with selenium tests.

But to begin with, can you execute
mvn test
 from download directory of
seleniumtests

I did not see any null pointer exception. Can you try this?

Also there are some STF tutorials here - http://www.seleniumtests.com/2013/10/announcing-selenium-tests-automation.html

Let me know how it went.
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

RaviGunasekaran
This post was updated on .
Hi Tarun,

When i run mvn test. This is what happens, Let me know if any other
information is required. Mean while let me try with IDEA.

*Actions after -  mvn test:*
1. Chrome browsers opened, but no execution. (Please refer attached log.)
2. If I close one chrome browser window one by one, another 5-6 windows are
opened.

*Environment:*
OS - Windows10
Eclipse - Mars2.
MVN-3.3.9
Java - java version "1.8.0_91"

1. Eclipse Error

On Thu, Feb 16, 2017 at 7:03 PM, softwaretestingforum [via Manual and
Automated Testing] <ml-node+s1070n5002479h79@n6.nabble.com> wrote:

> Hi Ravi,
>
> Sorry to heat that you found it difficult to use STF.
> I have added STF video to my To do list. Just subscribe to my channel to
> receive future updates.
>
> I would suggest you to use IDEA and not eclipse. There is free/community
> version of IDEA which can be used with selenium tests.
>
> But to begin with, can you execute
>
> mvn test
>
>  from download directory of
>
> seleniumtests
>
>
> I did not see any null pointer exception. Can you try this?
>
> Also there are some ST tutorials here - http://www.seleniumtests.com/
> 2013/10/announcing-selenium-tests-automation.html
>
> Let me know how it went.
> ~ seleniumtests.com
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://manual-and-automated-testing.1070.x6.nabble.com/
> Request-Video-Tutorial-for-STF-tp5002478p5002479.html
> To unsubscribe from Request : Video Tutorial for STF, click here
> <http://manual-and-automated-testing.1070.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5002478&code=cmF2aWd1bmFzZWthcmFuQGdtYWlsLmNvbXw1MDAyNDc4fC0xNjA0MTMzNjA5>
> .
> NAML
> <http://manual-and-automated-testing.1070.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



--
Thanks & Regards,
Ravi.G


image.png (122K) <http://manual-and-automated-testing.1070.x6.nabble.com/attachment/5002480/0/image.png>
MVN_Test_Log.txt (23K) <http://manual-and-automated-testing.1070.x6.nabble.com/attachment/5002480/1/MVN_Test_Log.txt>
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

RaviGunasekaran
I have tried with IDEA as well. I got same error.

IDEA Error


IDEA - Console Log:

"C:\Program Files\Java\jdk1.8.0_91\bin\java" -ea -Didea.launcher.port=7532 "-Didea.launcher.bin.path=D:\JetBrains\IntelliJ IDEA Community Edition 2016.3.4\bin" -Dfile.encoding=UTF-8 -classpath "D:\JetBrains\IntelliJ IDEA Community Edition 2016.3.4\lib\idea_rt.jar;D:\JetBrains\IntelliJ IDEA Community Edition 2016.3.4\plugins\testng\lib\testng-plugin.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_91\jre\lib\rt.jar;D:\Installers\SeleniumJars\seleniumtestsframework-master\seleniumtestsframework-master\target\test-classes;D:\Installers\SeleniumJars\seleniumtestsframework-master\seleniumtestsframework-master\target\classes;C:\Users\rgunasekaran\.m2\repository\org\testng\testng\6.9.10\testng-6.9.10.jar;C:\Users\rgunasekaran\.m2\repository\com\beust\jcommander\1.48\jcommander-1.48.jar;C:\Users\rgunasekaran\.m2\repository\org\beanshell\bsh\2.0b4\bsh-2.0b4.jar;C:\Users\rgunasekaran\.m2\repository\com\google\inject\guice\3.0\guice-3.0.jar;C:\Users\rgunasekaran\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\rgunasekaran\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\rgunasekaran\.m2\repository\io\appium\java-client\2.1.0\java-client-2.1.0.jar;C:\Users\rgunasekaran\.m2\repository\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;C:\Users\rgunasekaran\.m2\repository\org\apache\httpcomponents\httpclient\4.3.3\httpclient-4.3.3.jar;C:\Users\rgunasekaran\.m2\repository\org\apache\httpcomponents\httpcore\4.3.2\httpcore-4.3.2.jar;C:\Users\rgunasekaran\.m2\repository\com\google\guava\guava\17.0\guava-17.0.jar;C:\Users\rgunasekaran\.m2\repository\cglib\cglib\3.1\cglib-3.1.jar;C:\Users\rgunasekaran\.m2\repository\org\ow2\asm\asm\4.2\asm-4.2.jar;C:\Users\rgunasekaran\.m2\repository\log4j\log4j\1.2.5\log4j-1.2.5.jar;C:\Users\rgunasekaran\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Users\rgunasekaran\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar;C:\Users\rgunasekaran\.m2\repository\org\json\json\20070829\json-20070829.jar;C:\Users\rgunasekaran\.m2\repository\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;C:\Users\rgunasekaran\.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\rgunasekaran\.m2\repository\com\google\gdata\core\1.47.1\core-1.47.1.jar;C:\Users\rgunasekaran\.m2\repository\com\google\oauth-client\google-oauth-client-jetty\1.11.0-beta\google-oauth-client-jetty-1.11.0-beta.jar;C:\Users\rgunasekaran\.m2\repository\com\google\oauth-client\google-oauth-client-java6\1.11.0-beta\google-oauth-client-java6-1.11.0-beta.jar;C:\Users\rgunasekaran\.m2\repository\com\google\oauth-client\google-oauth-client\1.11.0-beta\google-oauth-client-1.11.0-beta.jar;C:\Users\rgunasekaran\.m2\repository\com\google\http-client\google-http-client\1.11.0-beta\google-http-client-1.11.0-beta.jar;C:\Users\rgunasekaran\.m2\repository\xpp3\xpp3\1.1.4c\xpp3-1.1.4c.jar;C:\Users\rgunasekaran\.m2\repository\org\mortbay\jetty\jetty\6.1.26\jetty-6.1.26.jar;C:\Users\rgunasekaran\.m2\repository\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1.26.jar;C:\Users\rgunasekaran\.m2\repository\org\mortbay\jetty\servlet-api\2.5-20081211\servlet-api-2.5-20081211.jar;C:\Users\rgunasekaran\.m2\repository\com\google\code\findbugs\jsr305\1.3.7\jsr305-1.3.7.jar;C:\Users\rgunasekaran\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar;C:\Users\rgunasekaran\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-server\3.0.1\selenium-server-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-java\3.0.1\selenium-java-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.0.1\selenium-chrome-driver-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.0.1\selenium-remote-driver-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-api\3.0.1\selenium-api-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\cglib\cglib-nodep\3.2.4\cglib-nodep-3.2.4.jar;C:\Users\rgunasekaran\.m2\repository\net\java\dev\jna\jna-platform\4.1.0\jna-platform-4.1.0.jar;C:\Users\rgunasekaran\.m2\repository\net\java\dev\jna\jna\4.1.0\jna-4.1.0.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.0.1\selenium-edge-driver-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.0.1\selenium-firefox-driver-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.0.1\selenium-ie-driver-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.0.1\selenium-opera-driver-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.0.1\selenium-safari-driver-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\io\netty\netty\3.5.7.Final\netty-3.5.7.Final.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\selenium-support\3.0.1\selenium-support-3.0.1.jar;C:\Users\rgunasekaran\.m2\repository\com\codeborne\phantomjsdriver\1.3.0\phantomjsdriver-1.3.0.jar;C:\Users\rgunasekaran\.m2\repository\org\eclipse\jetty\websocket\websocket-client\9.2.15.v20160210\websocket-client-9.2.15.v20160210.jar;C:\Users\rgunasekaran\.m2\repository\org\eclipse\jetty\jetty-util\9.2.15.v20160210\jetty-util-9.2.15.v20160210.jar;C:\Users\rgunasekaran\.m2\repository\org\eclipse\jetty\jetty-io\9.2.15.v20160210\jetty-io-9.2.15.v20160210.jar;C:\Users\rgunasekaran\.m2\repository\org\eclipse\jetty\websocket\websocket-common\9.2.15.v20160210\websocket-common-9.2.15.v20160210.jar;C:\Users\rgunasekaran\.m2\repository\org\eclipse\jetty\websocket\websocket-api\9.2.15.v20160210\websocket-api-9.2.15.v20160210.jar;C:\Users\rgunasekaran\.m2\repository\net\jcip\jcip-annotations\1.0\jcip-annotations-1.0.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\jetty-repacked\9.2.13.v20160825\jetty-repacked-9.2.13.v20160825.jar;C:\Users\rgunasekaran\.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;C:\Users\rgunasekaran\.m2\repository\org\yaml\snakeyaml\1.15\snakeyaml-1.15.jar;C:\Users\rgunasekaran\.m2\repository\org\seleniumhq\selenium\htmlunit-driver\2.21\htmlunit-driver-2.21.jar;C:\Users\rgunasekaran\.m2\repository\net\sourceforge\htmlunit\htmlunit\2.21\htmlunit-2.21.jar;C:\Users\rgunasekaran\.m2\repository\xalan\xalan\2.7.2\xalan-2.7.2.jar;C:\Users\rgunasekaran\.m2\repository\xalan\serializer\2.7.2\serializer-2.7.2.jar;C:\Users\rgunasekaran\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;C:\Users\rgunasekaran\.m2\repository\org\apache\httpcomponents\httpmime\4.5.2\httpmime-4.5.2.jar;C:\Users\rgunasekaran\.m2\repository\net\sourceforge\htmlunit\htmlunit-core-js\2.17\htmlunit-core-js-2.17.jar;C:\Users\rgunasekaran\.m2\repository\net\sourceforge\htmlunit\neko-htmlunit\2.21\neko-htmlunit-2.21.jar;C:\Users\rgunasekaran\.m2\repository\xerces\xercesImpl\2.11.0\xercesImpl-2.11.0.jar;C:\Users\rgunasekaran\.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\rgunasekaran\.m2\repository\net\sourceforge\cssparser\cssparser\0.9.18\cssparser-0.9.18.jar;C:\Users\rgunasekaran\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\rgunasekaran\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\rgunasekaran\.m2\repository\com\opera\operadriver\1.5\operadriver-1.5.jar;C:\Users\rgunasekaran\.m2\repository\com\opera\operalaunchers\1.1\operalaunchers-1.1.jar;C:\Users\rgunasekaran\.m2\repository\com\google\protobuf\protobuf-java\2.4.1\protobuf-java-2.4.1.jar;C:\Users\rgunasekaran\.m2\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;C:\Users\rgunasekaran\.m2\repository\org\ini4j\ini4j\0.5.2\ini4j-0.5.2.jar;C:\Users\rgunasekaran\.m2\repository\org\apache\velocity\velocity\1.6.2\velocity-1.6.2.jar;C:\Users\rgunasekaran\.m2\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;C:\Users\rgunasekaran\.m2\repository\oro\oro\2.0.8\oro-2.0.8.jar;C:\Users\rgunasekaran\.m2\repository\com\thoughtworks\qdox\qdox\1.12.1\qdox-1.12.1.jar;C:\Users\rgunasekaran\.m2\repository\net\sourceforge\jexcelapi\jxl\2.6.12\jxl-2.6.12.jar;C:\Users\rgunasekaran\.m2\repository\junit\junit\4.11\junit-4.11.jar;C:\Users\rgunasekaran\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\rgunasekaran\.m2\repository\org\hamcrest\hamcrest-all\1.3\hamcrest-all-1.3.jar;C:\Users\rgunasekaran\.m2\repository\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;D:\JetBrains\IntelliJ IDEA Community Edition 2016.3.4\plugins\testng\lib\jcommander.jar" com.intellij.rt.execution.application.AppMain org.testng.RemoteTestNGStarter -usedefaultlisteners false -socket65333 @w@C:\Users\rgunasekaran\AppData\Local\Temp\idea_working_dirs_testng.tmp -temp C:\Users\rgunasekaran\AppData\Local\Temp\idea_testng.tmp
[TestNG] Running:
  C:\Users\rgunasekaran\.IdeaIC2016.3\system\temp-testng-customsuite.xml
####################################################
####################################################
####################################################
WWW.SELENIUMTESTS.COM
WWW.SELENIUMTESTS.COM
WWW.SELENIUMTESTS.COM
####################################################
####################################################
####################################################
 INFO  2017-02-17 15:25:16,480 [PoolService-0] SeleniumTestPlan: Thread[PoolService-0,5,main] Start method loginTest

java.lang.NullPointerException
        at com.seleniumtests.webelements.PageObject.populateAndCapturePageSnapshot(PageObject.java:427)
        at com.seleniumtests.webelements.PageObject.waitForPageToLoad(PageObject.java:557)
        at com.seleniumtests.webelements.PageObject.<init>(PageObject.java:105)
        at com.seleniumtests.webpage.RegistrationPage.<init>(RegistrationPage.java:49)
        at com.seleniumtests.tests.RegistrationTest.loginTest(RegistrationTest.java:74)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
        at org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:75)
        at org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:14)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

 INFO  2017-02-17 15:25:16,562 [PoolService-0] SeleniumTestPlan: Thread[PoolService-0,5,main] Finish method loginTest
 INFO  2017-02-17 15:25:16,565 [main] SeleniumTestPlan: Test Suite Execution Time: 0 minutes.

===============================================
Default Suite
Total tests run: 1, Failures: 1, Skips: 0
===============================================


Process finished with exit code 0
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

softwaretestingforum
Administrator
Hi Ravi,

I don't have Window 10 but I can try on Windows 7 machine over weekend.
Do you have possibility to try STF on ubuntu machine?
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

RaviGunasekaran
Sure.. I have Ubunto vm. Let me try & update you.


On Fri, Feb 17, 2017 at 6:06 PM, softwaretestingforum [via Manual and Automated Testing] <[hidden email]> wrote:
Hi Ravi,

I don't have Window 10 but I can try on Windows 7 machine over weekend.
Do you have possibility to try STF on ubuntu machine?


If you reply to this email, your message will be added to the discussion below:
http://manual-and-automated-testing.1070.x6.nabble.com/Request-Video-Tutorial-for-STF-tp5002478p5002482.html
To unsubscribe from Request : Video Tutorial for STF, click here.
NAML



--
Thanks & Regards,
Ravi.G
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

RaviGunasekaran
Hi Tarun,

I have tried with Unbunto-Eclipse & Ubunto IntelliJ IDEA. Got Same Error.
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

softwaretestingforum
Administrator
Hi Ravi,

I get it now what's going on.

You can not execute STF tests from a test method at this point of time. You would have to use
testng.xml
 for it. Keep only following test in
testng.xml
 and run it by right clicking on
testng.xml
 -

<test name="WebTest - Test Link Login Test in Chrome">
        <!--testType parameter is optional for web test, since testType defaults to web-->
        <parameter name="testType" value="Web" />
        <classes>
            <class name="com.seleniumtests.tests.RegistrationTest" />
        </classes>
</test>

If you want to execute only one test method then use testng group name in
testng.xml
 file

Let me know how it goes.
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

RaviGunasekaran
Hi Tarun,
I have tried with testNG.xml, but same issues. Attached Execution logs & testng.xml.

Modified_testng.xmlExecutionLogs.txt

Modified_testng.xml

Reply | Threaded
Open this post in threaded view
|

Re: Request : Video Tutorial for STF

softwaretestingforum
Administrator
You Ravi,

You should not comment out the
parameters
 else test set up does not know browser, application URL etc. Please check testng.xml file I uploaded.
Let me know if it still does not work.

testng.xml
~ seleniumtests.com