How To Manually Create testng xml file in TestNG

How To Manually Create testng xml file in TestNG

Mukesh otwani

9 лет назад

77,599 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@MaknunKhan
@MaknunKhan - 07.09.2021 07:50

Thanks a lot bro

Ответить
@saiquality7453
@saiquality7453 - 13.03.2021 03:22

Hello Mukesh, If I want to execute testng suite that has 1 test class for 200 times what is the easiest way ? I guess pasting test class 200 times inside suite is not best way. Any suggestion, please?

Ответить
@bibhutib3564
@bibhutib3564 - 21.05.2020 00:39

Thank you Mukesh for this lecture on testng, it helped me a lot.

Ответить
@amitgautam6782
@amitgautam6782 - 19.05.2020 14:17

i am not getting this option testng suite while running only configuration option i can see

Ответить
@harshchoubey9168
@harshchoubey9168 - 13.05.2020 12:35

Very Nice video Mukesh

Ответить
@sreekanth5751
@sreekanth5751 - 17.09.2019 08:00

Hi Mukesh,


I am getting an issue as " org.testng.TestNGException: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target " when i am trying to run the xml file. could u plzz help in finding out that

Ответить
@hiremathdarshan
@hiremathdarshan - 25.01.2019 22:48

I get run as XSL transformation not testngsuite , is it okay ?

Ответить
@yashwantbeeram8543
@yashwantbeeram8543 - 08.01.2019 02:22

Hi Mukesh
Thank you very much much for this video.
Actually I completed Java,and full selenium course and executed it from another tutorial before I came across yours. Finally I also started page object model and almost compled. Finally 2 things left
1. Running with testng.xml
2. Data driven frame work adding Excel reader

This 2 things I was failed 2 to 3 times. I kept framework aside and wasted so much time without boosting.
I tried creating so many testng.xml but when I tried run as testng it was not showing. I saw in ur video convert into testing.xmland converted automatically it showed and running at morning 4 am

One more excel read also I did from yours.thanks

Ответить
@Nilesh773
@Nilesh773 - 25.07.2018 10:34

Test Data store in XML file how we used XML fiel insted of excel file.?

Ответить
@shaiksameena7603
@shaiksameena7603 - 16.07.2018 09:51

Hi Mukhesh,

Testng is visible for xml files. Iam getting only xsl transformation. Could you please help me on this

Ответить
@chennamyugasrinivaskumar1708
@chennamyugasrinivaskumar1708 - 14.06.2018 10:31

Hi Mukesh, I require help frm you regarding an interview question I was being asked repeatedly.....How many test cases have u automated using Selenium for ur application? could you plz suggest me answer for this.

Ответить
@deepakbagde6353
@deepakbagde6353 - 02.02.2018 21:37

kya apne manual testing ke videos create kiye hai.

Ответить
@ValeriiSynenko
@ValeriiSynenko - 22.11.2017 18:26

5+

Ответить
@sidzalavadiya252
@sidzalavadiya252 - 09.11.2017 15:47

Hi Mukesh, I am using TestNG with Android Studio can you please help me to get location of TestNG output files?

Ответить
@vallimocherla7630
@vallimocherla7630 - 07.09.2017 04:29

Thank you..I was able to understand very easily.

Ответить
@chandruj4868
@chandruj4868 - 28.07.2017 21:48

Hi, Mukesh,
Its really good and thanks a lot for your great work!

Ответить
@RanjeetSingh-bm1nq
@RanjeetSingh-bm1nq - 11.06.2017 17:12

hi mukesh,
can you help me to automate the gui structure of any web site or web application or even any app.
if any tool available regarding this and its introduction.
i want to use that with selenium webdriver (java) using eclipse.

i hope you understand my question.

your previous answer for me is really helpfull to create manual xml file with testNG

thanks.

Ответить
@sidharthbhatia6700
@sidharthbhatia6700 - 28.05.2017 11:33

Hi Mukesh!!!

Can you please upload video tutorial of : "How to run testng.xml" file from command prompt?Also I would like to suggest you to add the link of the same step-by-step in your blog.
It would be helpful for many people.

Thanks in advance!!!

Ответить
@nehatanna2692
@nehatanna2692 - 26.05.2017 13:34

Hello Mukesh, the latest testng.xml file seems different. i can see that currently which is different from the one i used to use previously. please let me know whether it has been updated or something else?

Ответить
@mehulchauhan2698
@mehulchauhan2698 - 24.05.2017 09:18

Hi Mukesh,
It's really good and simple. Easy to understand..

Ответить
@garimabhambhani545
@garimabhambhani545 - 30.04.2017 09:19

Hi sir
I am getting issue whenever i run my test case it gives message as can not find class in classpath:packagename.classname
Please help me to resolve this issue.

Ответить
@deepanjanpal5959
@deepanjanpal5959 - 06.04.2017 21:10

Hi Mukesh,

My test case says 'Cannot find the class in classpath' everytime I want to run a test cases.Can you please guide on how to solve the issue.

Ответить
@abishekkachroo938
@abishekkachroo938 - 18.03.2017 09:19

Hi Mukesh
this one is really good
but i would suggest you make video that will include all the other annotations i.e groups , dependency on methods combined
that would be really helpful
and one question i have related to this
when i include the methods of that particular class in xml
it gives me error and when i remove the enclosing tag of the class , error is gone

Ответить
@subhanagpoori9992
@subhanagpoori9992 - 22.02.2017 09:36

Hi Mukesh thanks for the Video

Can you please tell me that is there any perquisites requires to install TestNg plugin in Eclipse ,I tried lot of times to install plugin via Marketplace and New Software Installation options but i am unable to install it .it throwing an error "Unable to find repository files " .
any one can give me solution so that i can work with Testng .
your reply would be highly appreciated.
Thanks in advance.

Ответить
@gauravkumar-km3qs
@gauravkumar-km3qs - 12.02.2017 20:03

hello mukesh ! when i try to run xml file (using testng) it shows Run configurations... what to do ?

Ответить
@rock51praveen
@rock51praveen - 03.02.2017 10:09

Hi Mukesh,

Your videos on Selenium are really useful...I am learning a lot from all your videos...really appreciate your efforts...
Really beneficial for all those users who are new to Selenium.... I would love to recommend to my friends.
Keep posting new Selenium videos. All the best....keep it up.. :)

Regards
Praveen Gupta

Ответить
@bharadwaj003mydreams
@bharadwaj003mydreams - 17.11.2016 07:02

im able to run small program using testng ... present im using ubuntu 14.04 selenium 2.53.0 ... but it runs normally using junit and using main() method ... only problem by using testng ( like):
Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -protocol
at com.beust.jcommander.JCommander.parseValues(JCommander.java:742)
at com.beust.jcommander.JCommander.parse(JCommander.java:282)
at com.beust.jcommander.JCommander.parse(JCommander.java:265)
at com.beust.jcommander.JCommander.<init>(JCommander.java:210)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:162)

Ответить
@rajashekarpolu122
@rajashekarpolu122 - 22.10.2016 04:24

hi mukesh,
I'm getting an error: No embedded stylesheet instruction for file: file:/D/workspace/selenium/ testsunte.xml

please do needful.

Ответить
@toluabisogun5704
@toluabisogun5704 - 20.10.2016 04:02

Thanks bud...Very helpful

Ответить
@TheRammohan1
@TheRammohan1 - 14.09.2016 14:11

Hello Mukesh,
Can you tell me how to send the Test Ng report to all team members after fisnishing the test through mail.

Ответить
@phaneendrapashikanti6461
@phaneendrapashikanti6461 - 05.08.2016 10:12

mukesh how should i get "test-output" folder..?

Ответить
@shaileshk4115
@shaileshk4115 - 31.07.2016 16:01

Hi Mukesh, this video is really helpful. but i have one doubt like .. i have many classes in a Package, i want to run all the classes at once using testng.xml sequentially . its executing but in the random order, sometimes its executing first and last only. do i need to modify any more or need to do something. your guidance would be appreciated . Thank You :)

Ответить
@ashfirebolt
@ashfirebolt - 21.06.2016 23:39

Mukesh!! You Rock!!! Keeping the content free is gonna make your videos popular. Thank you!

Ответить
@MrJitendraparate
@MrJitendraparate - 11.05.2016 12:40

Hi Mukesh,, thanks a lot for sharing this video!!.

Video is very useful for me. How can we terminate/abort the suite from execution if any condition fails in @BeforeSuite method.

Ответить
@chinmayachittaranjanjena2575
@chinmayachittaranjanjena2575 - 29.03.2016 22:17

Thanks Mukesh for shairing this video.

Ответить
@arturasmikaila4783
@arturasmikaila4783 - 25.03.2016 10:48

Thank you, Mukesh!

Ответить
@satishkakimukkala
@satishkakimukkala - 27.11.2015 07:54

thank u mukesh...................

Ответить
@Dhinababu505
@Dhinababu505 - 20.11.2015 06:38

Thanks Mukesh sir..its very helpful

Ответить
@nagagsalka5371
@nagagsalka5371 - 28.10.2015 06:17

Mukesh ...............thanks

Ответить
@nagalathaks
@nagalathaks - 30.09.2015 23:20

This really helped. i was in search of creating the XML.. thanks a lot Mukesh... :)

Ответить
@sharangowda5276
@sharangowda5276 - 30.09.2015 15:30

Thanks it helped

Ответить
@Mukeshotwani
@Mukeshotwani - 09.06.2015 21:44

Many of the times in Selenium, you need testng.xml file to execute my multiple test cases in one shot and in some cases you will not get an option to create xml from eclipse.

Let's see how to create xml manually.

Ответить