Completed
Last Updated: 23 Dec 2014 09:08 by ADMIN
ADMIN
Cody
Created on: 26 Aug 2014 19:39
Type: Bug Report
1
Recording in FF/Chrome, 'Name' and 'Id' are not honored building nested find logic
Start with this HTML sample:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Welcome l</title>
</head>
<body>
<div name="test-d1v1" id="test-dlv1"><p>Welcome l</p><p>Welcome 2</p></div>
<div name="test-div2" id="test-div2"><p>Welcome 3</p><div><p>Welcome 4</p></div></div>
</body>
</html>

Set identification logic to this order:
Name
ID
TagIndex
TextContent

Using FF or Chrome, record a click on Welcome 1 text
Expected: name=test-d1v1,|,tagIndex=p:0
Actual: id=id-test-dlv1,|,TagIndex=p:0

Now remove ID from identification logic all together
Record the same click using FF or Chrome:
Expected: name=test-d1v1,|,tagIndex=p:0
Actual: [TagIndex 'Exact' p:0]
1 comment
ADMIN
Iliyan Panchev
Posted on: 23 Dec 2014 09:08
This is fixed. For Chrome you should update the extension to the latest - Telerik Test Studio Chrome Recorder 2014.4.1211.2. The fix for Firefox will be included in the next Test Studio internal and official builds.