Forum Discussion
No, #william_roe. Nothing like that yet.
Currently we are a manual shop. We are testing the waters with automation so I am really the only one doing it right now.
At mye company we use automation for regression testing, and have dedicated QA Automation Engineers, with development (coding) experience and testing experience. Currently, the manual testers send us what test cases they feel should be automated for regression, and we report back with what the automation scripts cover.
Note that we do not use keyword testing, or name mapping.
- william_roe9 years agoSuper Contributor
chicks wrote:Note that we do not use keyword testing, or name mapping.
I'm curious why you don't use keyword tests and name mapping. We use a mix of keyword and script and find only the keyword referebces refactor / rename when objects change (i.e. move). The same would be true for not mapping. I can't image managing references such as:
Sys.Browser("chrome").Page("http://localhost/CMWebTest/Go/?p=/CMWebTest/Crib/Properties/1").Panel("primaryWrapper").Section("primaryContent").Frame("t_cmwebtest_crib_properties_1_content").Section("actionWrapper").Section("actionContent").Panel(0).Form("mainForm").Panel("partialCribProperties").Panel("partialCribProperties_CC").Panel("partialCribProperties_C0").Panel(0).Article(0).Panel(0).Panel(6).Panel(1).Table("AlertEMailAddress_ET").Cell(0, 1).Table("AlertEMailAddress").Cell(0, 0).Textbox("AlertEMailAddress_I")
- chicks9 years agoRegular Contributor
william_roe wrote:I'm curious why you don't use keyword tests and name mapping. We use a mix of keyword and script and find only the keyword referebces refactor / rename when objects change (i.e. move). The same would be true for not mapping. I can't image managing references such as:
Sys.Browser("chrome").Page("http://localhost/CMWebTest/Go/?p=/CMWebTest/Crib/Properties/1").Panel("primaryWrapper").Section("primaryContent").Frame("t_cmwebtest_crib_properties_1_content").Section("actionWrapper").Section("actionContent").Panel(0).Form("mainForm").Panel("partialCribProperties").Panel("partialCribProperties_CC").Panel("partialCribProperties_C0").Panel(0).Article(0).Panel(0).Panel(6).Panel(1).Table("AlertEMailAddress_ET").Cell(0, 1).Table("AlertEMailAddress").Cell(0, 0).Textbox("AlertEMailAddress_I")
we create a function call for each gui object to find / refer to the object.
so we'd have something like SetText( alert_email_textbox(), ' some text); and then in an objects file we'd have
function alert_email_textbox() {
return alert_page().FindChild( new Array("ObjectType", "idStr"), new Array("Textbox", "AlertEMail"), FIND_DEPTH);
}
- william_roe9 years agoSuper Contributor
chicks wrote:
william_roe wrote:I'm curious why you don't use keyword tests and name mapping. We use a mix of keyword and script and find only the keyword referebces refactor / rename when objects change (i.e. move). The same would be true for not mapping. I can't image managing references such as:
Sys.Browser("chrome").Page("http://localhost/CMWebTest/Go/?p=/CMWebTest/Crib/Properties/1").Panel("primaryWrapper").Section("primaryContent").Frame("t_cmwebtest_crib_properties_1_content").Section("actionWrapper").Section("actionContent").Panel(0).Form("mainForm").Panel("partialCribProperties").Panel("partialCribProperties_CC").Panel("partialCribProperties_C0").Panel(0).Article(0).Panel(0).Panel(6).Panel(1).Table("AlertEMailAddress_ET").Cell(0, 1).Table("AlertEMailAddress").Cell(0, 0).Textbox("AlertEMailAddress_I")
we create a function call for each gui object to find / refer to the object.
so we'd have something like SetText( alert_email_textbox(), ' some text); and then in an objects file we'd have
function alert_email_textbox() {
return alert_page().FindChild( new Array("ObjectType", "idStr"), new Array("Textbox", "AlertEMail"), FIND_DEPTH);
}
So in lieu of mapping objects the FindChild method is used. I could see how this would reduce the sensitivity to objects getting moved..How's the speed? I'm assuming you use 'eval' on consumer side of this method. Can you show what that code looks like? Is the idStr attribute always used? Our templates use ObjectIdentifier
Related Content
Recent Discussions
- 2 days agovladd1