tag:blogger.com,1999:blog-2411958903224745637.comments2024-03-14T10:48:54.941+05:30All about application performance and test automationBharath Marrivadahttp://www.blogger.com/profile/12485730458517413391noreply@blogger.comBlogger427125tag:blogger.com,1999:blog-2411958903224745637.post-3614635293285017462017-07-10T16:37:17.855+05:302017-07-10T16:37:17.855+05:30If you can say me those enhancements I will share ...If you can say me those enhancements I will share the framework.<br />Email id?Bharath Marrivadahttps://www.blogger.com/profile/12485730458517413391noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-12753343677343074002017-07-10T16:14:27.509+05:302017-07-10T16:14:27.509+05:30Hi Bharath,
Could you please share QTP framework c...Hi Bharath,<br />Could you please share QTP framework code with me. I will enhance this further as per my requirementAnonymoushttps://www.blogger.com/profile/13606405058057105903noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-66512149721705739982016-05-30T11:20:27.774+05:302016-05-30T11:20:27.774+05:30Hi Bharath,
I am trying to upload a file but it w...Hi Bharath,<br /><br />I am trying to upload a file but it will not work, below is my webdriver code and AutoIT code<br /><br />Webdriver script-<br /><br />package day1;<br /><br />import java.util.concurrent.TimeUnit;<br /><br />import org.openqa.selenium.By;<br />import org.openqa.selenium.WebDriver;<br />import org.openqa.selenium.chrome.ChromeDriver;<br /><br />public class autoIT {<br /><br /> public static void main(String[] args) {<br /> try<br /> {<br /> String filename= "E:\\testCaseSheet.xls";<br /> <br /> System.setProperty("webdriver.chrome.driver", "C:\\Users\\xyz\\Downloads\\chromedriver.exe");<br /> WebDriver driver = new ChromeDriver();<br /> driver.manage().window().maximize();<br /> driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);<br /><br /> driver.get("http://www.toolsqa.com/automation-practice-form");<br /><br /> driver.findElement(By.id("photo")).click();<br /> //Thread.sleep(5000);<br /> Runtime.getRuntime().exec("E:\\fileupload.exe" + filename);<br /> Thread.sleep(5000);<br /><br /> }<br /> catch(Exception e)<br /> {<br /> e.printStackTrace();<br /> }<br /><br /> }<br /><br />}<br /><br /><br />Auto IT script-<br /><br />Sleep(2000)<br />ControlFocus("File Upload","","Edit1")<br />Sleep(2000)<br />ControlSetText("File Upload", "", "Edit1", "E:\testCaseSheet.xls")<br />ControlClick("File Upload", "","Button1");<br /><br /><br />could you please help me....Chandrakanthttps://www.blogger.com/profile/08627582765024300685noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-11819569497798425902016-02-11T18:17:35.830+05:302016-02-11T18:17:35.830+05:30Hi bharat,
Thank you sooo much.. Robot class is w...Hi bharat,<br /><br />Thank you sooo much.. Robot class is working fine for my application.Lavanyahttps://www.blogger.com/profile/18061247423457917078noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-13226319838748115022015-07-17T18:59:22.255+05:302015-07-17T18:59:22.255+05:30Hi guys i am facing problem with autoit while uplo...Hi guys i am facing problem with autoit while uploading the photo using selenium,and the prob is i can able to upload the pic only once and when i try to run the selenium script again its not uploading the file (its not locating the file location) please help guys <br />thanks in advance<br />mahesh skMaheshhttps://www.blogger.com/profile/01730083063077067715noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-20642319889467728612015-04-06T17:58:27.043+05:302015-04-06T17:58:27.043+05:30Hi I tried this code but am getting following erro...Hi I tried this code but am getting following error<br />Access is denied.<br /><br /><br />Line (17): "oXMLHTTP.Send sPostData".Anonymoushttps://www.blogger.com/profile/16016472014814312350noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-58630530947904206202015-03-05T04:44:41.014+05:302015-03-05T04:44:41.014+05:30please share your approach as above one is not wor...please share your approach as above one is not working for my application.Anonymoushttps://www.blogger.com/profile/17279963531626362233noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-5501007257422430322014-09-08T15:15:51.245+05:302014-09-08T15:15:51.245+05:30NewFileNamePath = "ScreenShot"+ Count + ... NewFileNamePath = "ScreenShot"+ Count + "";<br /> Reporter.log(NewFileNamePath);<br /> <br />by using this code i not able to see the link in testng reported createdpavanhttps://www.blogger.com/profile/13271343123210926732noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-77737047414310817902014-08-19T17:29:49.228+05:302014-08-19T17:29:49.228+05:30Could you please tell me how to store alert messa...Could you please tell me how to store alert message for this url http://demo.cropin.in .By entering anything on username and password field,it will give a message “Invalid user”.I want to store this message and print it in a console but not use Threadsleep(). means that program wait for popup and when popup is come then value is coming the console. Problem is waiting time may be 10 sec to 30 sec, its depand the net speed. Please send the solution for my id kapilkumarvarshney.it@gmail.comAnonymoushttps://www.blogger.com/profile/10104223368869814854noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-61169269947129261792014-08-08T11:09:45.747+05:302014-08-08T11:09:45.747+05:30if thers is no icon,so what should do ?if thers is no icon,so what should do ?流行追我https://www.blogger.com/profile/04665212397745442293noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-3308635915338507912014-04-11T19:10:59.995+05:302014-04-11T19:10:59.995+05:30if possible please share mobile automation testing...if possible please share mobile automation testing dtailsAnonymoushttps://www.blogger.com/profile/04093665967786465178noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-61470157816384182992014-04-07T10:31:08.467+05:302014-04-07T10:31:08.467+05:30Great Job!!!
Thanks...Great Job!!!<br />Thanks...Dr. Vinod Kumar Chauhanhttps://www.blogger.com/profile/09822160937547703934noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-6786960436930902322014-03-13T17:56:13.295+05:302014-03-13T17:56:13.295+05:30how handle the dynamically changing the locator va...how handle the dynamically changing the locator values using selenium webdriverAnonymoushttps://www.blogger.com/profile/14186772038016414123noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-28073864671478838262014-03-13T17:55:32.001+05:302014-03-13T17:55:32.001+05:30how handle the dynamically changing the locator va...how handle the dynamically changing the locator values using selenium webdriver? pls help me......Anonymoushttps://www.blogger.com/profile/14186772038016414123noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-4403750260534456572014-03-04T23:32:27.106+05:302014-03-04T23:32:27.106+05:30email me at mbr.reddy@gmail.comemail me at mbr.reddy@gmail.comBharath Marrivadahttps://www.blogger.com/profile/12485730458517413391noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-76259159310222292812014-03-02T21:47:03.547+05:302014-03-02T21:47:03.547+05:30hi bharath, i need qtp framework trainig, could u ...hi bharath, i need qtp framework trainig, could u provide class room training in hyderbad? is it possible?Anonymoushttps://www.blogger.com/profile/07024005388011777977noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-71990334994815421232014-01-08T11:58:49.456+05:302014-01-08T11:58:49.456+05:30Hi Anil Kumar,
Did you get the solution for downl...Hi Anil Kumar,<br /><br />Did you get the solution for download file code. if you find can you share it with me.<br /><br />Thanks in Advance,<br />MaheshAnonymoushttps://www.blogger.com/profile/04657771694209923893noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-27193286461481468332013-12-20T16:45:07.952+05:302013-12-20T16:45:07.952+05:30Hi Bharath,
I am using the below java code to upl...Hi Bharath,<br /><br />I am using the below java code to upload multiple files using AutoIt but first file is getting replaced with first file.<br />Can we upload 3 or more files at a time without getting replaced or is there any code for pressing ctrl+A and selecting files?<br /><br />public String uploadUsingAutoIt(String object,String data) throws IOException<br /> {<br /> try {ProcessBuilder p = null;<br /> List path_file=new ArrayList();<br /> driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);<br /> String currDir = System.getProperty("user.dir");<br /> String sep = System.getProperty("file.separator");<br /> String temp[] = data.split(",");<br /> String obj[]=temp[1].split(" ");<br /> String path_exe = currDir + sep + "externalFiles" + sep + "uploadFiles"+ sep + temp[0].trim();<br /> for(int i=0;i<obj.length;i++)<br /> {<br /> String path = currDir + sep + "externalFiles" + sep + "uploadFiles"+ sep + obj[i].trim();<br /> path_file.add(path);<br /> <br /> }<br /> for(int k=0;k<path_file.size();k++){<br /> p=new ProcessBuilder(path_exe,path_file.get(k), "Open");<br /> }<br /> p.start();<br /> }<br /> catch (Exception e) {<br /> return Constants.KEYWORD_FAIL + " Unable to upload "<br /> + e.getLocalizedMessage();<br /> }<br /> return Constants.KEYWORD_PASS+ "File/Video Uploaded sucessfully.";<br /> }<br /><br />Please help me on this issue.<br /><br />Thanks,<br />Anil Reddy.<br />anil.reddy5153@gmail.com.Anonymoushttps://www.blogger.com/profile/11956878230706265219noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-57118053676227700222013-12-18T16:07:59.522+05:302013-12-18T16:07:59.522+05:30This post belong to QTP...any way read the followi...This post belong to QTP...any way read the following link<br />https://code.google.com/p/selenium/wiki/SafariDriverBharath Marrivadahttps://www.blogger.com/profile/12485730458517413391noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-40960088957309886852013-12-18T15:43:52.060+05:302013-12-18T15:43:52.060+05:30How to open safari browser using webdriver?How to open safari browser using webdriver?Anonymoushttps://www.blogger.com/profile/12415168476063739404noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-86090367326051465242013-12-13T19:26:32.359+05:302013-12-13T19:26:32.359+05:30Hi Bharath,
Even I am unable code to download the...Hi Bharath,<br /><br />Even I am unable code to download the Excel file using Webdriver. Can you share the AutoIT code for downloading the Excel file.<br /><br />Thanks<br />Mahesh Anonymoushttps://www.blogger.com/profile/04657771694209923893noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-50222169868669383372013-12-13T12:47:33.769+05:302013-12-13T12:47:33.769+05:30Hi Bharath,
I want to download a file using selen...Hi Bharath,<br /><br />I want to download a file using selenium web driver framework. so help how to download file code work?<br />please send link how to find code?<br /><br />Thanks,<br />AnilAnonymoushttps://www.blogger.com/profile/12415168476063739404noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-67343556706475930572013-11-29T13:03:45.335+05:302013-11-29T13:03:45.335+05:30Hi
please provide me sample of TestNg framework ....Hi <br />please provide me sample of TestNg framework . how to design Testng Hybrid fameworkAnonymoushttps://www.blogger.com/profile/12415168476063739404noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-50576746285129436862013-11-28T17:27:09.522+05:302013-11-28T17:27:09.522+05:30Hi i am unable find code for download a file using...Hi i am unable find code for download a file using selenium web driverAnonymoushttps://www.blogger.com/profile/12415168476063739404noreply@blogger.comtag:blogger.com,1999:blog-2411958903224745637.post-81480957639096699542013-11-28T16:30:00.862+05:302013-11-28T16:30:00.862+05:30Read the above post
Read the above post<br />Bharath Marrivadahttps://www.blogger.com/profile/12485730458517413391noreply@blogger.com