Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

iSQI CTFL-AcT Exam - Topic 1 Question 10 Discussion

Posted by Shalon on May 08, 2022 at 03:34 PM

Assume you are testing functionality of the interface of an elevator. One of the requirements is that the elevator can work only if the total weight of the passengers does not exceed 200 kg. The elevator can reach the following floors: Ground Floor, 1st floor and 2nd floor. You want to create an acceptance test using the Gherkin language. You can use the following phrases for this purpose:

i. the total weight of passengers is greater than 200 kg

ii. the elevator is on the Ground Floor

iii. a button '1st floor' was pressed

iv. the elevator goes to the 1st floor

v. a passenger standing at the 2nd floor calls the elevator

vi. a message 'too many passengers' is displayed on the screen

Which of the following statements correctly matches constructs of Given/When/Then with a relevant phrase in order to create a correct test case for the given requirement?

Suggested Answer: A

Get Premium CTFL-AcT Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
DA
Daryl 11 months ago
I think option D is a bit confusing with the AND.
GA
Galen 12 months ago
Option B doesn't fit the requirement at all.
MA
Mari 12 months ago
Wait, can the elevator really only hold that much? Seems low.
AR
Arlette 12 months ago
Totally agree, option A makes the most sense!
RY
Ryan 1 year ago
The weight limit is 200 kg, right?
LI
Lizbeth 1 year ago
I feel like I saw a similar question where the weight limit was tested, but I can't recall the exact phrases we used.
JE
Jeannetta 1 year ago
I think option A makes sense because it starts with the elevator being on the Ground Floor, which seems logical for the test.
GE
Georgene 1 year ago
I remember we practiced Gherkin syntax, but I'm not sure if the order of Given/When/Then is always straightforward.
AM
Ammie 1 year ago
I'm leaning towards option D, but I'm confused about how to combine the conditions in the When part. It feels a bit off to me.
GO
Goldie 1 year ago
Okay, I've got this. It's the daily balance during the month that determines the interest paid. That makes the most sense to me based on how I understand savings accounts work.
SH
Shelba 1 year ago
I'm a bit confused on this one. I'll have to review the date format options again to be sure.
AM
Amber 1 year ago
Wait, what's this about a Macro-enabled checkbox? I'm not sure I understand that part. I better double-check the options to make sure I don't miss anything.
FI
Filiberto 1 year ago
Wait, I'm a bit confused. Wouldn't the Network Access NetworkDeviceName condition also work, since that includes the SSID?
0/2000 characters

Save Cancel