I am trying to run the following code.
SystemUtil.Run "Chrome.exe","https://www.mortgagecalculator.org/"
val = Browser(MortCalPage).Page(MortCalPage).WebElement("xpath:=//DIV/DIV/H3\[normalize-space\(\)=""\$.*").GetROProperty ("outertext")
But i am either getting "Failed to run the test due to an unknown error." or unable to find object error
Used a reg exp for xpath
Original Value of xpath after obj identification:
"xpath:=//DIV/DIV/H3\[normalize-space\(\)=""\$1,401\.63""\]"
Value of xpath after using reg ex:
"xpath:=//DIV/DIV/H3\[normalize-space\(\).*"
Related
Following this example and using Javascript, get the following error when run my tests. The error is generated on the following command:
enter code heredriver.executeScript('mobile: stopPerfRecord', [
{ profileName: 'Leaks' },
]);
Error:
Got this error “Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: There is no .trace file found for performance profile ‘Time Profiler’ and device XXXX. Make sure the selected profile is supported on this device”
Getting error when I run following code:
Parameters:
Counter:
Type : Number
Default : 5
Description : Maximum number of times to check query execution
Error:
An error occurred (ValidationError) when calling the CreateChangeSet operation: Invalid input for parameter key Counter. Cannot specify usePreviousValue as true for a parameter key not in the previous template
I am writing code in yaml and running via AWS cloudformation.
Are you creating a ChangeSet or updating the stack using the option usePreviousValue? The error mentions you are using the usePreviousValue with a parameter that doesn't exist in the template. You can only use the previous value if this parameter is part of the latest version of the template.
I am trying to run sonarqube analysis but I am getting the error
"a required argument is missing: /key:[Sonarqube project key]"
C:\Sonarqube\sonarqube-6.7\sonarqube-6.7\bin\sonar-scanner-msbuild-4.0.2.892\SonarQube.Scanner.MSBuild.exe begin /key: {projectkey} /name:{projectname} /version:{1.0}
I have used the following url
I have tried using the "" in Key and Name but still get the same error
can anyone suggest how to do this?
There's a typo in the command line: the space between /key: and {projectkey}. This is what produces this error message.
When I run a VBScript for excel sheet....
I get the unknown runtime error, code: 800A03EC.
I am stuck at the line
Do Until objExcel.cells(line,3).Value = ""
What could be the possible reason for getting such an error?
I am following the steps mentioned on the AWS to use an interactive Hive session using SSH.
I used the following resources
https://github.com/ucbtwitter/getting-started/wiki/Using-Elastic-Map-Reduce-via-Command-Line
http://docs.amazonwebservices.com/ElasticMapReduce/latest/GettingStartedGuide/SignUp.html
I was getting this error initially "Error: Missing key access-id" and then I fixed my JSON file. The JSON file is in the same format as mentioned in the above links.
When I run this command
./elastic-mapreduce
I am getting the following error :-
Error: Unable to parse credentials.json: can't convert String into Integer.
I checked the values required in JSON at AWS as well.
Does anyone has an idea why am I getting this error?
The region value in the credentials.json must be of int type.
{......
......
"region": 1
}