BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Pegasystems PEGAPCRSA80V1_2019 Exam - Topic 8 Question 46 Discussion

Posted by Malcolm on May 27, 2023 at 04:22 AM

You are designing an automation that adds new customers to an online insurance web site. If a customer exists, a pop-up window is displayed with an error message, which closes automatically after 35 seconds.

While debugging the automation, you notice that you are receiving a control not created exception message in the Add Customer procedure after a page navigation occurs.

How do you resolve the exception?

Suggested Answer: D

Get Premium PEGAPCRSA80V1_2019 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
32 comments · newest first
SH
Shizue 1 year ago
I disagree, I think option D is the way to go.
PR
Princess 1 year ago
Definitely need to check for that missing event!
KI
Kimberlie 1 year ago
Wait, why would we need a timeout longer than 35 seconds?
SH
Shenika 1 year ago
I think option B makes the most sense here.
RO
Rosalind 1 year ago
Sounds like a classic timing issue!
MA
Marge 1 year ago
I’m leaning towards option D because it seems like the pop-up might not be ready when the automation tries to interact with it.
PA
Paris 1 year ago
I practiced a similar question where adjusting timeouts fixed an issue, but I can't recall if it was waitForCreate or isCreated that I changed.
DO
Dong 1 year ago
I’m not completely sure, but I feel like adding a waitForEvent.Exists method could help with the timing after the page navigation.
IN
Inocencia 1 year ago
I think I remember something about control not created exceptions being related to timing issues, so maybe I should look at the timeouts.
MA
Marg 1 year ago
Okay, let's see. I think the key here is understanding the field-level security requirements.
TA
Tatum 1 year ago
Ah, I think I've got it! The network service would need to be restarted to apply the new primary DNS server settings. That makes sense since the network connectivity would be affected by the DNS change.
RO
Roosevelt 1 year ago
Hmm, this question seems to be testing our understanding of the differences between whole server migration and manual service migration in a WebLogic domain. I'll need to carefully review the prerequisites for each to identify the two that are unique to whole server migration.
HE
Hermila 2 years ago
Wait, the pop-up window closes automatically after 35 seconds? That's some next-level user experience right there! Anyway, I'd go with option B to make sure the waitForCreate timeout is longer than the pop-up's auto-close time. Gotta love these little quirks in the code, keeps us on our toes!
SH
Sherly 2 years ago
Interesting problem! I think option B is the way to go here. Extending the waitForCreate timeout should do the trick and ensure the control is created before we try to interact with it. Nothing like a good old-fashioned timing issue to keep us on our toes, am I right?
AN
Annice 2 years ago
↳ replying to Sherly
User1: Definitely, timing issues can be tricky but adjusting the timeout should help us avoid the control not created exception.
TA
Tasia 2 years ago
↳ replying to Sherly
User2: Yeah, extending the waitForCreate timeout should give the control enough time to be created before proceeding.
SE
Selene 2 years ago
↳ replying to Sherly
User1: I agree, option B seems like the best solution to fix the timing issue.
AN
Andra 2 years ago
I'm not sure, but I think B) Ensure the waitForCreate timeout is longer than 35 seconds could also be a valid solution.
JO
Jodi 2 years ago
Haha, this one's a classic! I bet the developer who wrote this code was having a rough day. Anyway, I'd go with option B to make sure the waitForCreate timeout is longer than the pop-up window's auto-close time. Gotta love those edge cases that make you scratch your head!
JU
Juan 2 years ago
↳ replying to Jodi
User 2: I agree, I think option B is the way to go to fix it.
WI
Willard 2 years ago
↳ replying to Jodi
User 1: Yeah, that error message can be tricky to debug.
GL
Glenn 2 years ago
I agree with Shakira. Adding a missing created event should resolve the exception.
SH
Shakira 2 years ago
I think the answer is A) Add a missing created event in the Add Customer procedure.
MA
Margot 2 years ago
Ah, I see. The control not created exception is probably because the page navigation is causing the control to not be available yet. I'd go with option C to make sure the isCreated timeout is longer than the pop-up window's auto-close time. Looks like a classic timing issue to me.
TA
Tamekia 2 years ago
Hmm, the key here is to ensure that the control is created before trying to interact with it. I think option B is the way to go, as the 35-second timeout for the pop-up window may not be long enough for the control to be created. Gotta love these tricky edge cases!
LA
Lacresha 1 year ago
↳ replying to Tamekia
Definitely. It's all about finding the right balance between waiting for the control to be created and not making the user wait too long.
AV
Avery 1 year ago
↳ replying to Tamekia
I agree. It's all about timing when dealing with these types of automations.
AR
Arlie 1 year ago
↳ replying to Tamekia
Yeah, that makes sense. It's important to give enough time for the control to be created before interacting with it.
TA
Tamekia 1 year ago
↳ replying to Tamekia
I think option B is the way to go, as the 35-second timeout for the pop-up window may not be long enough for the control to be created.
AL
Albert 2 years ago
I'm not sure, but I think D) Add a missing waitForEvent.Exists method might also help in resolving the exception.
CR
Crista 2 years ago
I agree with Gracia, increasing the timeout should give the control enough time to be created.
GR
Gracia 2 years ago
I think the answer is B) Ensure the waitForCreate timeout is longer than 35 seconds.
0/2000 characters

Save Cancel