-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automation tests for gmail, rest api, soap ws #30
base: master
Are you sure you want to change the base?
Conversation
Apply all recommendations. |
WebDriver driver = new FirefoxDriver(); | ||
driver.get(url); | ||
driver.manage().window().maximize(); // maximize window | ||
Thread.sleep(5000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try implicit wait instead
public static HttpResponse sendJSon(String url, String json) | ||
throws ClientProtocolException, IOException, JSONException { | ||
HttpPost request = new HttpPost( | ||
"https://api.rest-test-app.com/users/add"); // meyhod post |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it a public API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it's example. I'm going to create rest api on site for trying
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please provide real URL for test, any existing public
Thanks
Sergey, Thanks a lot for recommendation. Regards, |
Hi guys,
Please review my example project for testing:
1.Testing rest api. (Rest api sen json) (articles: http://helpqaspb.com/restapi.htm)
2.Gmail testing example of tests.(articles: http://helpqaspb.com/test.htm )
3.Soap ws- simple test.(send xml and parse result. http://helpqaspb.com/soapui.htm)
Regards,
Slava