Closed vbachurin closed 10 years ago
@vbachurin, thank you for this report. I am in progress with the issue. Instead, I have already fixed the bug with restarting the WebElement Explorer:
(and further recording becomes impossible until application restart):
Now, when error occurs, you could just restart WebElement Explorer without restarting the application.
Download URL for new version as usual:
Horray! I have reproduced the issue on Chrome Browser with URL: http://software-testing.ru/shop/home?page=shop.registration
Will try to fix soon
When I record locators for a certain UI element with SWD Recorder (and Firefox), I see the following error in the log (and further recording becomes impossible until application restart):
2013-09-17 17:46:17.8434 INFO JSON: [ { "Key": "type", "Value": "text"},{ "Key": "class", "Value": "text"},{ "Key": "style", "Value": "width: 50px;"},{ "Key": "id", "Value": "nb_char_size"},{ "Key": "onchange", "Value": "maskChange(event);"},{ "Key": "onkeypress", "Value": "return maskKeyPress(event)"},{ "Key": "value", "Value": ""},{ "Key": "maxlength", "Value": "4"},{ "Key": "name", "Value": "maxOutputSize"},]
2013-09-17 17:46:48.6834 ERROR Object reference not set to an instance of an object. 2013-09-17 17:46:49.4714 INFO VisualSearch_UpdateSearchResult: Finished ... 2013-09-17 17:54:32.6124 INFO JSON: [ { "Key": "type", "Value": "text"},{ "Key": "class", "Value": "text "},{ "Key": "style", "Value": "width: 50px;"},{ "Key": "id", "Value": "nb_char_size"},{ "Key": "onchange", "Value": "maskChange(event);"},{ "Key": "onkeypress", "Value": "return maskKeyPress(event)"},{ "Key": "value", "Value": ""},{ "Key": "maxlength", "Value": "4"},{ "Key": "name", "Value": "maxOutputSize"},]
2013-09-17 17:54:40.7034 ERROR Object reference not set to an instance of an object. 2013-09-17 17:54:41.4814 INFO VisualSearch_UpdateSearchResult: Finished
In the In-Browser Web Element Explorer I see: input[@type='submit' and @value='Save']
The html for this element is simple:
<input class="button" type="submit" value="Save">