New answers tagged

0

I hope this line of code helps you public String xls2text(InputStream in )throws Exception{ HSSFWorkbook excelWb = new HSSFWorkbook(in); StringBuffer result = new StringBuffer(8192); int numberOfSheets = excelWb.getNumberOfSheets(); for (int i = 0; i < numberOfSheets; i++) { HSSFSheet sheet = excelWb.getSheetAt(i); int ...


0

You can use TFS API to develop application like that. It allows customize a lot of item in MTM and TFS which you can not do with MTM or TFS.


0

The Team section on excel will allow you to connect to and export any TFS query you have access to. Queries will work against any TFS object that has a base type of Work Item. Since a requirements-based test suite uses (in the Scrum template) Product Backlog Items and Defects to define requirements, you need to build a query in TFS that includes linked work ...


1

sendKeys(objExcel.getCellData("Fname",i) + "@example.com"); Hope I understood your question correctly (just wondering).


0

There is several issues here. An implicit wait would do far better than the Thread.sleep() Using Xpath to search by id. Just use by.id() it will be far faster The ids, to me, appear to be dynamically created which will cause them to break. If the rest of the script works I would presume this is not the issue though. Use new ...


1

I would suggest not to use Thread.sleep() method, instead you can use the implicit wait, add following line of code after driver is declared. driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS); and remove all Thread.sleep() methods from the code. Difference between implicit wait and Thread.sleep() is Thread.sleep() method will wait until ...



Top 50 recent answers are included