Contributions
Re: Re-running failed test cases
tristaanogreMarsha_Rbaxatobkarkadil First of all - Thank you for so much brainstorming :) Secondly, my scenario is if I run 15 Test Cases together, 10-12 of them pass but the remaining fail(due to Cache issues,intermittent issues,etc.). The failed test cases when re-executed then pass(without needing any changes into them). So I was thinking if I could group them and then re-run them in the end after all the 15 test cases have run,that will solve my problem. That is my general idea.1.2KViews0likes0CommentsRe: How to rerun a failed test item for a given iteration count.
maxtesterI want to achieve the exact same results which you have done. Could you please help me with some more details? How to copy failed test cases to .mds file? How to then re-run the execution with only the failed test cases?2.2KViews0likes0CommentsRe: Need help in counting the total no. of elements in a table
It is working for the first time.Post that its failing. My guess is its not looping correctly.I used arr.length & its correctly returning me 4 rows for the table. The error is below: Unable to obtain the item's rectangle.2KViews0likes2CommentsNeed help in counting the total no. of elements in a table
Hi, I am trying to count the no. of elements present in a table and if they are present, I need to click on them. Suppose 3 elements are present, I need to click on each one of them. Below is my code: function findata() { //if (page.FindChildByXPath("//table[contains(@id,'repeaterTable')]//tr//td/a[@class = 'textlink hand']") let arr = page.EvaluateXPath("//table[contains(@id,'repeaterTable')]//tr//td/a[@class = 'textlink hand']"); if (!strictEqual(arr,null)) { for (i in arr) {arr[i].Click(); page.FindChildByXPath("//input[contains(@id,'buttonListReturn')]").Click(); Delay(2000) i++; } } else { Log.Error("Nothing found"); } }2.1KViews0likes7CommentsJavaScript error
Hi , I am getting a javascript error using the below code. Code: var Page = Sys.Browser("chrome").Page("*"); function InviteSupplier() { Page.FindChildByXPath("//span[contains(text(),'Invitation to Join')]").Click(); } Error: TypeError Cannot read property 'Click' of null Error location: Unit: "V1 product codes\V1 product codes\Script\Function_Library" Line: 44 Column: 73. TypeError Cannot read property 'Click' of null Error location: Unit: "V1 product codes\V1 product codes\Script\Function_Library" Line: 44 Column: 73.1.6KViews0likes2Comments