Contributions
Unable to open uploaded files in SmartBear Case Mgmt Portal
Been going back and forth on a case mgmt. ticket a few times about the fact that the uploaded files in my tickets are no longer links. They used to be a while back, but not now. Tried pasting the URL into both IE and Chrome and got a screen full of gibberish back. Support person is saying it must be my browser settings and to try another browser, or to do a control S when I get this result and try to save the file. It saves as an htm file, with the same result.Anyone have an idea what settings could be causing this, or had a similar experience? In this example, the portion I'm copying into the browser begins with https and goes to the end: A new file has been uploaded to the S3 storage: Doc1.docx https://s3.amazonaws.com/webtocasefiles.smartbear/2017/2eced1ca-cf66-fe09-d458-ae3e9309141a/2017_08_31-14_04_32_467/Doc1.docx?AWSAccessKeyId=AKIAI73W2YWGYHFS46XQ&Expires=1590602674&Signature=ua2Sh0U8HpvbemJtmMu8%2FVs2BsE%3D854Views0likes1CommentRe: Issue using JQuery to access hyperlink in Angular grid
Thanks much Alex for taking the time to give such a detailed reply. I've logged a ticket on this and my plan is, once we have the solution, to post it here. The issue appears to be that the angular grid is on an iFrame inside two other iFrames on the page.I think we would be able to use CSS Selector statements to get at these values if they were in the outside iFrame but we are having a challenge getting to the inner iFrame. SmartBear support has offered to work through the problem with us and hopefully we'll be successful. It isn't an option to change the design of the page to accommodate this, as we have multiple enterprise applications built in a similar way so I expect to encounter the issue elsewhere, although I haven't proven that yet because we are a new customer of TestComplete. Thanks again for your help and suggestions.1.1KViews0likes1CommentIssue using JQuery to access hyperlink in Angular grid
We are on TC Version 12.2 and I am trying to use JQuery to access a hyperlink (9936) in the cost center column within an Angular grid. I have found that all of the data in the grid (headers, all data lines, footer with page numbers) are contained in one object thus I am not able to search for data within the grid. Our development team indicated that we need to use JQuery to access the grid data per the following: var link = $("a.costCenterLink").filter(function(){ return $(this).text().toLowerCase() === '9936';}); The variable “link” now contains the <a> element with a correct cost center link. Then you can simulate browser click event by: link.trigger(“click”); When I tried the above two lines I received a JavaScript runtimeerror on the var link line: ReferenceError $ is not defined So I added page.contentDocument.Script into that line per an example found in TC help and I was able to execute the code without error. However nothing happens in the test – the cursor does not try to select the cost center in the grid. Here is the code: //select item in grid Log.Message("before var link line"); var link = page.contentDocument.Script.$("a.costCenterLink").filter(function(){ return $(this).text().toLowerCase() === '9936';}); Log.Message("before click"); Log.Message(link); link.trigger("click"); Log.Message("after click"); Attached is what shows in the log, which is basically all of my comments. But nothing happens in the actual script. Need some help understanding how to get this to work.1.2KViews0likes3Comments