Running Applications in Selenium

33 views
Skip to first unread message

QQQQ

unread,
Jul 19, 2016, 5:53:58 PM7/19/16
to webdriver

from the knowledge that I have amassed so far, is the following true:

  1. in both Junit and TestNG there is an option to run batch testing. In Junit there are special annotations and in TestNG there is an xml file. However, is it true that you run batches only when you are about to deploy and the majority of the time you run one class at a time by just clicking Run?

  2. You can't make WCF or Web API calls using Selenium. The same goes for SOAP UI. In fact you can't even test SOAP UI in Java. you either test it manually, or use Groovy. Right?

  3. Java Script can be used , but it is very optional. There is no situation where you could not have done without Java Script. Is that so?

⇜Krishnan Mahadevan⇝

unread,
Jul 20, 2016, 12:44:40 AM7/20/16
to webdriver
Comments in line.


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Tue, Jul 19, 2016 at 1:29 AM, QQQQ <abr...@gmail.com> wrote:

from the knowledge that I have amassed so far, is the following true:

  1. in both Junit and TestNG there is an option to run batch testing. In Junit there are special annotations and in TestNG there is an xml file. However, is it true that you run batches only when you are about to deploy and the majority of the time you run one class at a time by just clicking Run?

​[Krishnan] Not sure what you are looking for here. People tend to run one test at a time when they are developing their tests. After that once the test gets checked into the codebase, it is going to be executed in what you term as a batch mode, via a CI tool such as Jenkins based on some triggers.​

  1. You can't make WCF or Web API calls using Selenium. The same goes for SOAP UI. In fact you can't even test SOAP UI in Java. you either test it manually, or use Groovy. Right?

​[Krishnan] Selenium is meant to be used to interact with a web application that can be loaded up in a browser. So it cannot be used to make Web API calls​. Soap UI to the best of my knowledge is a UI tool for invoking Soap calls manually. You can build Java tests that can do the same via the code. Doing it with Java or doing it with Groovy is just a personal choice and has got nothing to do with limitations in Java. Groovy is built on Java. So if Groovy can do something, then it is very much possible with Java as well.
  1. Java Script can be used , but it is very optional. There is no situation where you could not have done without Java Script. Is that so?

​[Krishnan] True and Not True. Usage of Javascript depends on the automation test scenario that is being automated. There is no silver bullet philosophy which says that you can do away with having any dependency on JavaScript.​

 

--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at https://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages