Creating Report.....It is easy with TestNG...it will create default reports....in HTML format.
The Default feature in TestNG is it will create reports automatically..you need not to write any code...
Just run the Script with TestNG...it will automatically create a report...
First Setup the TestNg
Please go through link if you dont know how to set up...
Setting up Selenium RC & TestNG using Eclipse
Observe the screen shot before running the test...
Screen Shot after running the Test
Before Running the Test Run the script --Run as -->TestNG --see the below screen shot...Report is generated. |
After Running the Test |
NOTE: You need to download the testng-5.14.10.jar file................it should be in your referenced library..
Hope it will be helpful .......
Hello Nagarjuna,
ReplyDeleteHow to check form validations in selenium, i am unable to find it, please give me one example like if a form contains username,password,email fields then how to check mandatory fileds & email validation.
Thank you in advance.. please help me
Prasanna
Hi Nagraju,
ReplyDeleteI like your post and the way you have set this blog up wrt selenium is really cool...
This surely makes it a candidate on my blog which has the best articles and posts across the web.
Do mail me at aditya_kalra@ymail.com and let me know if it is fine i add this to my blog.
My blog: http://go-gaga-over-testing.blogspot.com/
Best Regards,
Aditya Kalra
Hi naga I am impressed from your posts, your posts are really best on the web. THanks a lot
ReplyDelete---vikasgarg.mgl@gmail.com
Hi nagaraju i am running the script but the test output folder is not getting generated can you tell me what will be the cause my id is y.p.thanvi@gmail.com
ReplyDeletewaiting for ur reply
Hi Naga
ReplyDeleteApart from using testng reports, how do we generate reports in our own style? When I searched the documentation for testng, it says we have to override generateReport() method. But I am stuck on this part. How do we get the test method name and result? Can we add expected result and actual result to the report?
You help would be appreciated.
Thanks
goyard handbags
ReplyDeletekd 12
calvin klein outlet
jordan shoes
kate spade outlet
christian louboutin outlet
jordan retro
supreme shirt
supreme clothing
yeezy 700
c8w52t4f80 z3r04b1u16 d8i04d8w88 j0x96k1l65 t5k70z7c37 s4b06e5g68
ReplyDelete