Posts by Striter Alfa • 214 points
8 posts
-
4
votes1
answer362
viewsQ: Order of execution of Migrations
Hello! In my first job, I worked using code-first with Entity Framework 4. At this time, I noticed a limitation in it: the generated Migrations only ran in order. For example, if in my branch two…
-
1
votes1
answer647
viewsQ: Relative Path with virtual subdirectory
Good afternoon, I’ve been searching the internet for solutions to this my current problem with paths, but I can’t find. Imagine that I have the following links: www.site/Files/Uploads/image.png…
-
1
votes1
answer104
viewsA: OR in Join using Linq
I made an example using classes to show how the Line (with lambda) should be done. You can change the && for || if you want the result to be in one of the tables, but not necessarily in…
-
0
votes1
answer256
viewsA: Drag & Drop with parameter
Jquery itself can sort the elements with Draggable. See an example of the functionality: https://jqueryui.com/draggable/#sortable Then you take a list of the elements and send it to the backend. It…
-
2
votes1
answer230
viewsA: Insert new columns with ID creation into existing table
You can use a alter table, as mysql command: ALTER TABLE nomedatabela ADD nomedacoluna VARCHAR(255); And if you want to insert it after a certain column, you can use as an example this other…
-
0
votes1
answer1033
viewsA: Webdriverexception when not finding elements with Findelements
I ended up discovering the problem, so I’ll share it with someone else. It happened in a method that I often call in the test suite, where it checks if the page is loading (and displaying a loading…
-
0
votes1
answer1033
viewsQ: Webdriverexception when not finding elements with Findelements
When I try to check if an element exists or not on my website and if the element does not exist, my Iwebdriver launches a Webdriverexception, and all of my driver’s methods stop working, making it…
-
1
votes1
answer830
viewsQ: Log errors with Selenium Webdrive in C#
Good night! I’m organizing my test suite and looking for the best ways to create a bug report when a test fails. I’ve already implemented a log in. txt with the test name that runs (using…