Contributions
Re: Running the TestComplete test through Azure DevOps pipeline fails
Hi Marsha_R, Thanks for your reply. I'm using TC 15.41 and it was not upgraded. The test fails at the very first step when navigating to the page. What confuses me is that it works as expected when I'm connected to the test server. If there were any compatibility issues, then it would fail when I'm RDPed as well, I assume. I'll explore your suggestion on rdpclip.exe process.516Views0likes0CommentsRunning the TestComplete test through Azure DevOps pipeline fails
Hi, I'm trying to run a test through Azure Pipeline, but it fails to run with the following error. "Unable to navigate to the https:<url> page." However, if I run the pipeline while connecting to the remote server, the test is executed as expected. When I use 'tscon' to disconnect from the remote session, pipeline runs as expected for a while (around 10-15 mins) and then fails with 'Unable to navigate' error. The test agent used has auto logon enabled, as well as the registry settings to 'keep session alive' and 'disable screen saver'. Am I missing anything here? Thanks for any insights. ~Roshan564Views1like2CommentsRe: Encrypt/Decrypt Base64 string in TestComplete
Hirraghvani,thanks for the suggestion. It seemed working. However, I wanted to convert using 'FromBase64String', which gave me the byte array of the converted string. And had troubles converting the byte array to the string. At the and created following function to invoke a PowerShell command. That did the trick for me. function b64ToString (str){ var ps = dotNET.System_Management_Automation.PowerShell.Create(); ps.AddScript( "[Text.Encoding]::Utf8.GetString([Convert]::FromBase64String('"+str+"')) | Out-String"); var results = ps.Invoke(); for (i = 0; i < results.Count; i++) { convertedString = results.Item(i).ImmediateBaseObject; } return convertedString; }942Views0likes0CommentsEncrypt/Decrypt Base64 string in TestComplete
Hi, I'm in need of decrypting a Base64 string in a Testcomplete script. The value is coming from a datafile. Is it possible to use a javascript method like atob() or btoa(), within testcomplete for this purpose? Or is there any other option? Thanks, ~RoshanSolved993Views0likes2Comments